Skip to content

Commit

Permalink
Fix known issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanziwei committed Jan 5, 2024
1 parent 434b499 commit 1253369
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ public void testChangePeers() throws Exception {
for (final PeerId peer : newPeers) {
assertTrue(this.cluster.start(peer.getEndpoint()));
}

this.cluster.waitLeader();
final Node oldLeaderNode = this.cluster.getLeader();
assertNotNull(oldLeaderNode);
Expand Down

0 comments on commit 1253369

Please sign in to comment.