Skip to content

Commit

Permalink
make TestRateLimitConfigReload stable
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Apr 18, 2024
1 parent ad5ba18 commit 2e7f503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func MustWaitLeader(re *require.Assertions, svrs []*Server) *Server {
leader = svr
}
}
return true
return leader != nil
})
return leader
}
Expand Down

0 comments on commit 2e7f503

Please sign in to comment.