Skip to content

Commit

Permalink
Added client config to client instantiation do that connection is bei…
Browse files Browse the repository at this point in the history
…ng retried indefinitely until the server comes up. (#15801)

fixes #15203
  • Loading branch information
ihsandemir committed Oct 17, 2019
1 parent 0746d1a commit 525cf8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private ClientConfig newClientConfig() {
public void testSingleMemberRestart() {
HazelcastInstance instance = hazelcastFactory.newHazelcastInstance(newConfig());
Member oldMember = instance.getCluster().getLocalMember();
HazelcastInstance client = hazelcastFactory.newHazelcastClient();
HazelcastInstance client = hazelcastFactory.newHazelcastClient(newClientConfig());

final CountDownLatch memberAdded = new CountDownLatch(1);
final CountDownLatch memberRemoved = new CountDownLatch(1);
Expand Down

0 comments on commit 525cf8a

Please sign in to comment.