Skip to content

Commit

Permalink
Merge pull request #224 from mutianf/remove-check
Browse files Browse the repository at this point in the history
fix: update check on mutateRows RPC status
  • Loading branch information
mutianf authored Dec 17, 2024
2 parents c72bf49 + 826dfa6 commit fcd52d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mutaterows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func TestMutateRows_Generic_DeadlineExceeded(t *testing.T) {
assert.Less(t, runTimeSecs, 8) // 8s (< 10s of server delay time) indicates timeout takes effect.

// 4c. Check the failed row
checkResultOkStatus(t, res)
assert.Equal(t, int32(codes.DeadlineExceeded), res.GetStatus().GetCode())
assert.Equal(t, 1, len(res.GetEntries()))
for _, entry := range res.GetEntries() {
assert.Equal(t, int32(codes.DeadlineExceeded), entry.GetStatus().GetCode())
Expand Down

0 comments on commit fcd52d0

Please sign in to comment.