Commit 99b81ae 1 parent 4339244 commit 99b81ae Copy full SHA for 99b81ae
File tree 1 file changed +3
-3
lines changed
server/src/test/java/org/opensearch/index
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -974,10 +974,10 @@ public void testExtendedCompatibilityVersionForNonRemoteSnapshot() {
974
974
);
975
975
IndexSettings settings = new IndexSettings (metadata , Settings .EMPTY );
976
976
assertFalse (settings .isRemoteSnapshot ());
977
- assertNull ( settings .getExtendedCompatibilitySnapshotVersion ());
977
+ assertEquals ( Version . CURRENT . minimumIndexCompatibilityVersion (), settings .getExtendedCompatibilitySnapshotVersion ());
978
978
}
979
979
980
- public void testExtendedCompatibilityVersionMissingKey () {
980
+ public void testExtendedCompatibilityVersionWithoutFeatureFlag () {
981
981
IndexMetadata metadata = newIndexMeta (
982
982
"index" ,
983
983
Settings .builder ()
@@ -987,6 +987,6 @@ public void testExtendedCompatibilityVersionMissingKey() {
987
987
);
988
988
IndexSettings settings = new IndexSettings (metadata , Settings .EMPTY );
989
989
assertTrue (settings .isRemoteSnapshot ());
990
- assertNull ( settings .getExtendedCompatibilitySnapshotVersion ());
990
+ assertEquals ( Version . CURRENT . minimumIndexCompatibilityVersion (), settings .getExtendedCompatibilitySnapshotVersion ());
991
991
}
992
992
}
You can’t perform that action at this time.
0 commit comments