File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/test/java/org/opensearch/index Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -974,10 +974,10 @@ public void testExtendedCompatibilityVersionForNonRemoteSnapshot() {
974974 );
975975 IndexSettings settings = new IndexSettings (metadata , Settings .EMPTY );
976976 assertFalse (settings .isRemoteSnapshot ());
977- assertNull ( settings .getExtendedCompatibilitySnapshotVersion ());
977+ assertEquals ( Version . CURRENT . minimumIndexCompatibilityVersion (), settings .getExtendedCompatibilitySnapshotVersion ());
978978 }
979979
980- public void testExtendedCompatibilityVersionMissingKey () {
980+ public void testExtendedCompatibilityVersionWithoutFeatureFlag () {
981981 IndexMetadata metadata = newIndexMeta (
982982 "index" ,
983983 Settings .builder ()
@@ -987,6 +987,6 @@ public void testExtendedCompatibilityVersionMissingKey() {
987987 );
988988 IndexSettings settings = new IndexSettings (metadata , Settings .EMPTY );
989989 assertTrue (settings .isRemoteSnapshot ());
990- assertNull ( settings .getExtendedCompatibilitySnapshotVersion ());
990+ assertEquals ( Version . CURRENT . minimumIndexCompatibilityVersion (), settings .getExtendedCompatibilitySnapshotVersion ());
991991 }
992992}
You can’t perform that action at this time.
0 commit comments