Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Harshit Gangal <[email protected]>
  • Loading branch information
harshit-gangal committed Oct 17, 2024
1 parent c8697f8 commit d5ae476
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions go/vt/vtgate/engine/vindex_lookup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestVindexLookup(t *testing.T) {
`ResolveDestinations ks [type:INT64 value:"1"] Destinations:DestinationKeyspaceID(10)`,
`ExecuteMultiShard ks.-20: dummy_select {} false false`,
})
expectResult(t, result, defaultSelectResult)
expectResult(t, "vindexlookup execute", result, defaultSelectResult)

fp.rewind()
vc.Rewind()
Expand All @@ -80,7 +80,7 @@ func TestVindexLookup(t *testing.T) {
`ResolveDestinations ks [type:INT64 value:"1"] Destinations:DestinationKeyspaceID(10)`,
`StreamExecuteMulti dummy_select ks.-20: {} `,
})
expectResult(t, result, defaultSelectResult)
expectResult(t, "vindexlookup stream execute", result, defaultSelectResult)
}

func TestVindexLookupTruncate(t *testing.T) {
Expand Down Expand Up @@ -121,7 +121,7 @@ func TestVindexLookupTruncate(t *testing.T) {
`ResolveDestinations ks [type:INT64 value:"1"] Destinations:DestinationKeyspaceID(10)`,
`ExecuteMultiShard ks.-20: dummy_select {} false false`,
})
expectResult(t, result, wantRes)
expectResult(t, "vindexlookup execute", result, wantRes)

fp.rewind()
vc.Rewind()
Expand All @@ -131,5 +131,5 @@ func TestVindexLookupTruncate(t *testing.T) {
`ResolveDestinations ks [type:INT64 value:"1"] Destinations:DestinationKeyspaceID(10)`,
`StreamExecuteMulti dummy_select ks.-20: {} `,
})
expectResult(t, result, wantRes)
expectResult(t, "vindexlookup stream execute", result, wantRes)
}

0 comments on commit d5ae476

Please sign in to comment.