Skip to content

Commit c221bf6

Browse files
committed
IGNITE-26965 Fixed flaky ReliabilityTest#testServiceMethodInvocationAfterFailover
1 parent 2017e43 commit c221bf6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/core/src/test/java/org/apache/ignite/client/ReliabilityTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,11 +574,13 @@ public void testServiceMethodInvocationAfterFailover() throws Exception {
574574
try {
575575
// Initialize cluster and client
576576
ignite = startGrid(getConfiguration().setServiceConfiguration(testSrvcCfg));
577-
client = startClient(ignite);
577+
client = Ignition.startClient(getClientConfiguration(ignite)
578+
.setReconnectThrottlingRetries(0));
579+
578580
TestServiceInterface svc = client.services().serviceProxy(SERVICE_NAME, TestServiceInterface.class);
579581

580582
// Invoke the service method with Externalizable parameter for the first time.
581-
// This triggers registration of the PersonExternalizable type in the cluter.
583+
// This triggers registration of the PersonExternalizable type in the cluster.
582584
String result = svc.testMethod(person);
583585
assertEquals("testMethod(PersonExternalizable person): " + person, result);
584586

0 commit comments

Comments
 (0)