Skip to content

Commit

Permalink
tests: Fix timeout of TestResolveTxnFallbackFromAsyncCommit (#1146)
Browse files Browse the repository at this point in the history
Signed-off-by: zzm <zhouzemin@pingcap.com>
  • Loading branch information
pingyu authored and zeminzhou committed Feb 28, 2024
1 parent 191e357 commit 167d5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/async_commit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ func (s *testAsyncCommitSuite) TestResolveTxnFallbackFromAsyncCommit() {
if fallback {
req.Req.(*kvrpcpb.PrewriteRequest).MaxCommitTs = 1
}
resp, err := s.store.SendReq(bo, req, loc.Region, 5000)
resp, err := s.store.SendReq(bo, req, loc.Region, 5*time.Second)
s.Nil(err)
s.NotNil(resp.Resp)
}
Expand Down

0 comments on commit 167d5c7

Please sign in to comment.