diff --git a/src/test/java/net/ravendb/client/test/server/replication/PullReplicationTest.java b/src/test/java/net/ravendb/client/test/server/replication/PullReplicationTest.java index e79851e1..05fdc5b4 100644 --- a/src/test/java/net/ravendb/client/test/server/replication/PullReplicationTest.java +++ b/src/test/java/net/ravendb/client/test/server/replication/PullReplicationTest.java @@ -261,7 +261,7 @@ public void disablePullReplicationOnSink() throws Exception { try (DocumentStore sink = getDocumentStore()) { try (DocumentStore hub = getDocumentStore()) { String definitionName = "pull-replication " + hub.getDatabase(); - int timeout = 3_000; + int timeout = 15_000; hub.maintenance().forDatabase(hub.getDatabase()) .send(new PutPullReplicationAsHubOperation(definitionName)); @@ -286,7 +286,7 @@ public void disablePullReplicationOnSink() throws Exception { main.saveChanges(); } - assertThat(waitForDocumentToReplicate(sink, User.class, "hub/2", timeout)) + assertThat(waitForDocumentToReplicate(sink, User.class, "hub/2", timeout / 3)) .isNull(); pull.setDisabled(false);