ReplicationIT: Increase timeout for tests

The replication delay is 1 second, and the timeout is set 2 seconds.

We are seeing frequent CI failures caused by a timeout before the
expected result [1, 2], so let's try to increase the timeout to see
if that helps.

[1] shouldReplicateNewBranchToTwoRemotes(com.googlesource.gerrit.plugins.replication.ReplicationIT)
java.lang.InterruptedException

[2] shouldReplicateHeadUpdate(com.googlesource.gerrit.plugins.replication.ReplicationIT)
java.lang.InterruptedException

Bug: Issue 11843
Change-Id: I895b2c3ef87dbbbfeeff5ae9186bb5ac9ab1de1d
diff --git a/src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationIT.java b/src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationIT.java
index c4d1b3e..e7415f9 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationIT.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationIT.java
@@ -60,7 +60,7 @@
   private static final Optional<String> ALL_PROJECTS = Optional.empty();
   private static final FluentLogger logger = FluentLogger.forEnclosingClass();
   private static final int TEST_REPLICATION_DELAY = 1;
-  private static final Duration TEST_TIMEOUT = Duration.ofSeconds(TEST_REPLICATION_DELAY * 2);
+  private static final Duration TEST_TIMEOUT = Duration.ofSeconds(TEST_REPLICATION_DELAY * 4);
 
   @Inject private SitePaths sitePaths;
   @Inject private ProjectOperations projectOperations;