Skip to content

Commit

Permalink
test: fix grpcvtgateconn tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <[email protected]>
  • Loading branch information
systay committed Dec 20, 2024
1 parent 12aceda commit 95d090d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions go/vt/vtgate/grpcvtgateconn/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ func testStreamExecute(t *testing.T, session *vtgateconn.VTGateSession) {
wantResult := *execCase.result
wantResult.RowsAffected = 0
wantResult.InsertID = 0
wantResult.InsertIDChanged = false
if !qr.Equal(&wantResult) {
t.Errorf("Unexpected result from StreamExecute: got %+v want %+v", qr, wantResult)
}
Expand Down Expand Up @@ -563,8 +564,9 @@ var result1 = sqltypes.Result{
Type: sqltypes.Int32,
},
},
RowsAffected: 123,
InsertID: 72,
RowsAffected: 123,
InsertID: 72,
InsertIDChanged: true,
Rows: [][]sqltypes.Value{
{
sqltypes.TestValue(sqltypes.Int16, "1"),
Expand Down

0 comments on commit 95d090d

Please sign in to comment.