chore: fix test string assert (#392)

Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
This commit is contained in:
Shuyang Wu 2022-06-30 00:28:35 -04:00 committed by GitHub
parent 89bed97031
commit 5647091ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -541,7 +541,7 @@ func TestCommitConflictRace4B(t *testing.T) {
})
resp := builder.runOneRequest(cmd).(*kvrpcpb.CommitResponse)
assert.NotNil(t, resp.Error.Retryable)
assert.NotEmpty(t, resp.Error.Retryable)
assert.Nil(t, resp.RegionError)
builder.assertLens(1, 1, 0)
builder.assert([]kv{