Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
gdliu3 committed Jan 16, 2024
1 parent c6391ff commit c0af4ca
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ public void startUp() throws Exception {
+ server.getFirstMappedPort()
+ "/hazelcast/rest/cluster");
response.then().statusCode(200);
Assertions.assertEquals(2, response.jsonPath().getList("members").size());
Awaitility.await()
.atMost(2, TimeUnit.MINUTES)
.untilAsserted(
() ->
Assertions.assertEquals(
2, response.jsonPath().getList("members").size()));
}

@Override
Expand Down

0 comments on commit c0af4ca

Please sign in to comment.