Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
  • Loading branch information
HunDunDM committed Jan 4, 2021
1 parent ba5257e commit 4d6d298
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/server/id/id_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ func (s *testAllocIDSuite) TestPDRestart(c *C) {

c.Assert(leaderServer.Stop(), IsNil)
c.Assert(leaderServer.Run(), IsNil)
cluster.WaitLeader()

for i := uint64(0); i < 10; i++ {
id, err := leaderServer.GetAllocator().Alloc()
Expand Down

0 comments on commit 4d6d298

Please sign in to comment.