Skip to content

Commit 7cd1001

Browse files
author
Sachin Kale
committed
Apply Spotless check
Signed-off-by: Sachin Kale <kalsac@amazon.com>
1 parent 13999e0 commit 7cd1001

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

server/src/test/java/org/opensearch/index/IndexSettingsTests.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -865,10 +865,7 @@ public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDocument() {
865865
IllegalArgumentException.class,
866866
() -> IndexMetadata.INDEX_REMOTE_STORE_ENABLED_SETTING.get(indexSettings)
867867
);
868-
assertEquals(
869-
"To enable index.remote_store.enabled, index.replication.type should be set to SEGMENT",
870-
iae.getMessage()
871-
);
868+
assertEquals("To enable index.remote_store.enabled, index.replication.type should be set to SEGMENT", iae.getMessage());
872869
}
873870

874871
public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDefault() {
@@ -877,9 +874,6 @@ public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDefault() {
877874
IllegalArgumentException.class,
878875
() -> IndexMetadata.INDEX_REMOTE_STORE_ENABLED_SETTING.get(indexSettings)
879876
);
880-
assertEquals(
881-
"To enable index.remote_store.enabled, index.replication.type should be set to SEGMENT",
882-
iae.getMessage()
883-
);
877+
assertEquals("To enable index.remote_store.enabled, index.replication.type should be set to SEGMENT", iae.getMessage());
884878
}
885879
}

0 commit comments

Comments
 (0)