Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Feb 10, 2025
1 parent ed9f59b commit b55c82b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/server/api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -702,9 +702,10 @@ func (suite *redirectorTestSuite) TestPing() {
re.NoError(err)
for _, svr := range suite.cluster.GetServers() {
if svr.GetServer() != follower {
svr.Run()
re.NoError(svr.Run())
}
}
re.NotEmpty(suite.cluster.WaitLeader())
}

func (suite *redirectorTestSuite) TestNotLeader() {
Expand Down

0 comments on commit b55c82b

Please sign in to comment.