Skip to content

Commit

Permalink
Fix TestMinResolvedTS
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <[email protected]>
  • Loading branch information
JmPotato committed Jun 16, 2022
1 parent 596c20d commit c3e6144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/server/cluster/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,7 @@ func TestMinResolvedTS(t *testing.T) {
// case6: set store1 to tombstone
// min resolved ts should change to store 3
resetStoreState(re, rc, store1, metapb.StoreState_Tombstone)
time.Sleep(time.Millisecond)
ts = rc.GetMinResolvedTS()
re.Equal(store3TS, ts)

Expand Down

0 comments on commit c3e6144

Please sign in to comment.