You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by GitBox <gi...@apache.org> on 2022/03/03 11:53:00 UTC

[GitHub] [jackrabbit-oak] kunal3112 commented on a change in pull request #507: OAK-9711 - Fix cold standby IT failures

kunal3112 commented on a change in pull request #507:
URL: https://github.com/apache/jackrabbit-oak/pull/507#discussion_r818582137



##########
File path: oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/standby/DataStoreTestBase.java
##########
@@ -172,20 +175,20 @@ public void testResilientSync() throws Exception {
 
         // run 2: successful
         try (
-            StandbyServerSync serverSync = StandbyServerSync.builder()
-                .withPort(serverPort.getPort())
-                .withFileStore(primary)
-                .withBlobChunkSize(MB)
-                .build();
-            StandbyClientSync cl = StandbyClientSync.builder()
-                .withHost(getServerHost())
-                .withPort(serverPort.getPort())
-                .withFileStore(secondary)
-                .withSecureConnection(false)
-                .withReadTimeoutMs(4_000)
-                .withAutoClean(false)
-                .withSpoolFolder(spoolFolder)
-                .build()
+                StandbyServerSync serverSync = StandbyServerSync.builder()
+                        .withPort(serverPort.getPort())
+                        .withFileStore(primary)
+                        .withBlobChunkSize(MB)
+                        .build();
+                StandbyClientSync cl = StandbyClientSync.builder()
+                        .withHost(getServerHost())
+                        .withPort(serverPort.getPort())
+                        .withFileStore(secondary)
+                        .withSecureConnection(false)
+                        .withReadTimeoutMs(4_000)
+                        .withAutoClean(false)
+                        .withSpoolFolder(spoolFolder)
+                        .build()

Review comment:
       These changes align with 1.8




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org