diff --git a/server/src/internalClusterTest/java/org/opensearch/remotemigration/RemotePrimaryRelocationIT.java b/server/src/internalClusterTest/java/org/opensearch/remotemigration/RemotePrimaryRelocationIT.java index c32d3520e83cf..4cf624ec8da3e 100644 --- a/server/src/internalClusterTest/java/org/opensearch/remotemigration/RemotePrimaryRelocationIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/remotemigration/RemotePrimaryRelocationIT.java @@ -272,7 +272,7 @@ public void testMixedModeRelocation_FailInFinalize() throws Exception { failFinalize.set(false); client().admin().cluster().prepareReroute().add(new MoveAllocationCommand("test", 0, docRepNode, remoteNode)).execute().actionGet(); - waitForRelocation(); + waitForRelocation(TimeValue.timeValueSeconds(90)); asyncIndexingService.stopIndexing(); client().admin()