Skip to content

Commit

Permalink
stable ut
Browse files Browse the repository at this point in the history
Signed-off-by: hehechen <awd123456sss@gmail.com>
  • Loading branch information
hehechen committed Dec 16, 2022
1 parent adff7e3 commit 71e5467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tikv/kv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (s *testKVSuite) TestMinSafeTs() {
}
s.store.SetTiKVClient(&mockClient)
// wait for updateSafeTS
time.Sleep(4 * time.Second)
s.Require().Equal(2, mockClient.requestCount)
time.Sleep(6 * time.Second)
s.Require().GreaterOrEqual(mockClient.requestCount, 2)
s.Require().Equal(uint64(80), s.store.GetMinSafeTS(oracle.GlobalTxnScope))
}

0 comments on commit 71e5467

Please sign in to comment.