File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
server/src/test/java/org/opensearch/index Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -865,10 +865,7 @@ public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDocument() {
865
865
IllegalArgumentException .class ,
866
866
() -> IndexMetadata .INDEX_REMOTE_STORE_ENABLED_SETTING .get (indexSettings )
867
867
);
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 ());
872
869
}
873
870
874
871
public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDefault () {
@@ -877,9 +874,6 @@ public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDefault() {
877
874
IllegalArgumentException .class ,
878
875
() -> IndexMetadata .INDEX_REMOTE_STORE_ENABLED_SETTING .get (indexSettings )
879
876
);
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 ());
884
878
}
885
879
}
You can’t perform that action at this time.
0 commit comments