diff --git a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationRelocationIT.java b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationRelocationIT.java index c7290913e5659..83a873ad0691a 100644 --- a/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationRelocationIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/indices/replication/SegmentReplicationRelocationIT.java @@ -59,7 +59,7 @@ private void createIndex(int replicaCount) { */ @AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/5669") public void testPrimaryRelocation() throws Exception { - final String oldPrimary = internalCluster().startNode()); + final String oldPrimary = internalCluster().startNode(); createIndex(1); final String replica = internalCluster().startNode(); ensureGreen(INDEX_NAME);