Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Cabinfever_B <[email protected]>
  • Loading branch information
CabinfeverB committed Dec 15, 2023
1 parent b7f61d3 commit 525bebc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/locate/region_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,7 @@ func (s *testRegionCacheWithDelaySuite) TestStaleGetRegion() {
s.NoError(err)
wg.Done()
}()
time.Sleep(30 * time.Millisecond)
newPeersIDs := s.cluster.AllocIDs(1)
s.cluster.Split(r1.GetID(), s.cluster.AllocID(), []byte("b"), newPeersIDs, newPeersIDs[0])
r1.invalidate(Other)
Expand Down

0 comments on commit 525bebc

Please sign in to comment.