Skip to content

Commit

Permalink
Fix TcpIpConnectionManager_MemoryLeakTest (#13959)
Browse files Browse the repository at this point in the history
Wait for member to observe membership change before assertion.

Fixes: #13958
  • Loading branch information
mmedenjak committed Oct 15, 2018
1 parent 1cf4400 commit 71952a6
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -54,6 +54,8 @@ public void test() {
HazelcastInstance hz2 = Hazelcast.newHazelcastInstance();
hz2.shutdown();

assertClusterSizeEventually(1, hz1);

assertTrueAllTheTime(new AssertTask() {
@Override
public void run() throws Exception {
Expand Down

0 comments on commit 71952a6

Please sign in to comment.