diff --git a/server/src/test/java/org/opensearch/index/IndexSettingsTests.java b/server/src/test/java/org/opensearch/index/IndexSettingsTests.java index 547422bd9940c..5f969180e6b2a 100644 --- a/server/src/test/java/org/opensearch/index/IndexSettingsTests.java +++ b/server/src/test/java/org/opensearch/index/IndexSettingsTests.java @@ -872,9 +872,7 @@ public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDocument() { } public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDefault() { - Settings indexSettings = Settings.builder() - .put("index.remote_store.enabled", true) - .build(); + Settings indexSettings = Settings.builder().put("index.remote_store.enabled", true).build(); IllegalArgumentException iae = expectThrows( IllegalArgumentException.class, () -> IndexMetadata.INDEX_REMOTE_STORE_ENABLED_SETTING.get(indexSettings)