Skip to content

Commit

Permalink
test: fix test expectations
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed Nov 7, 2024
1 parent e8279bc commit e0cbfc7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions go/vt/vtctl/grpcvtctldserver/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5570,7 +5570,7 @@ func TestGetTransactionInfo(t *testing.T) {
"80-": {
Dtid: "bb",
Participants: []*querypb.Target{
{Keyspace: ks, Shard: "-80"},
{Keyspace: ks, Shard: "-80", TabletType: topodatapb.TabletType_PRIMARY},
},
},
},
Expand All @@ -5587,7 +5587,8 @@ func TestGetTransactionInfo(t *testing.T) {
Metadata: &querypb.TransactionMetadata{
Dtid: "bb",
Participants: []*querypb.Target{
{Keyspace: ks, Shard: "-80"},
{Keyspace: ks, Shard: "-80", TabletType: topodatapb.TabletType_PRIMARY},
{Keyspace: ks, Shard: "80-", TabletType: topodatapb.TabletType_PRIMARY},
},
},
ShardStates: []*vtctldatapb.ShardTransactionState{
Expand Down

0 comments on commit e0cbfc7

Please sign in to comment.