From 437aa13e3aac4f781297826cd2ae73b29e70f5e2 Mon Sep 17 00:00:00 2001 From: Suraj Singh Date: Fri, 16 Sep 2022 11:41:45 -0700 Subject: [PATCH] Fix spotless failures Signed-off-by: Suraj Singh --- .../opensearch/snapshots/SegmentReplicationSnapshotIT.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/src/internalClusterTest/java/org/opensearch/snapshots/SegmentReplicationSnapshotIT.java b/server/src/internalClusterTest/java/org/opensearch/snapshots/SegmentReplicationSnapshotIT.java index 193b28af6d0de..322a0085692e0 100644 --- a/server/src/internalClusterTest/java/org/opensearch/snapshots/SegmentReplicationSnapshotIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/snapshots/SegmentReplicationSnapshotIT.java @@ -48,7 +48,7 @@ public class SegmentReplicationSnapshotIT extends AbstractSnapshotIntegTestCase @BeforeClass public static void assumeFeatureFlag() { -// assumeTrue("Segment replication Feature flag is enabled", Boolean.parseBoolean(System.getProperty(FeatureFlags.REPLICATION_TYPE))); + assumeTrue("Segment replication Feature flag is enabled", Boolean.parseBoolean(System.getProperty(FeatureFlags.REPLICATION_TYPE))); } public Settings segRepEnableIndexSettings() { @@ -103,7 +103,7 @@ public List startClusterWithSettings(Settings indexSettings, int replica final String primaryNode = internalCluster().startNode(); List nodeNames = new ArrayList<>(); nodeNames.add(primaryNode); - for(int i=0; i