Skip to content

Commit 13999e0

Browse files
author
Sachin Kale
committed
Fix UTs
Signed-off-by: Sachin Kale <kalsac@amazon.com>
1 parent d6dea08 commit 13999e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDocument() {
866866
() -> IndexMetadata.INDEX_REMOTE_STORE_ENABLED_SETTING.get(indexSettings)
867867
);
868868
assertEquals(
869-
"Settings index.remote_store.enabled cannot be enabled when index.replication.type is set to DOCUMENT",
869+
"To enable index.remote_store.enabled, index.replication.type should be set to SEGMENT",
870870
iae.getMessage()
871871
);
872872
}
@@ -878,7 +878,7 @@ public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDefault() {
878878
() -> IndexMetadata.INDEX_REMOTE_STORE_ENABLED_SETTING.get(indexSettings)
879879
);
880880
assertEquals(
881-
"Settings index.remote_store.enabled cannot be enabled when index.replication.type is set to DOCUMENT",
881+
"To enable index.remote_store.enabled, index.replication.type should be set to SEGMENT",
882882
iae.getMessage()
883883
);
884884
}

0 commit comments

Comments
 (0)