Skip to content

Commit a7c7853

Browse files
committed
debugging tests
1 parent 6753e60 commit a7c7853

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/src/test/java/io/split/client/SplitClientIntegrationTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,10 +483,12 @@ public void keepAlive() throws IOException, TimeoutException, InterruptedExcepti
483483
Assert.assertEquals("on_whitelist", result);
484484

485485
// wait to check keep alive notification.
486+
Thread.sleep(80000);
487+
486488
// must reconnect and after the second syncAll the result must be different
487489
Awaitility.await()
488-
.atMost(2L, TimeUnit.MINUTES)
489-
.until(() -> "split_killed".equals(client.getTreatment("admin", "push_test")));
490+
.atMost(1L, TimeUnit.MINUTES)
491+
.untilAsserted(() -> Assert.assertEquals("split_killed", client.getTreatment("admin", "push_test")));
490492

491493
client.destroy();
492494
splitServer.stop();

0 commit comments

Comments
 (0)