Skip to content

Commit

Permalink
Restore some of the v7 index versions related metadata tests (elastic…
Browse files Browse the repository at this point in the history
…#119135)

These were awaited fix because v7 index versions were filtered out from the
randomized versions. They are now reinstated as we will keep supporting them.
  • Loading branch information
javanna authored Jan 6, 2025
1 parent f5cffbf commit 9cbbd2d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import org.elasticsearch.common.settings.Setting;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.core.TimeValue;
import org.elasticsearch.core.UpdateForV9;
import org.elasticsearch.index.Index;
import org.elasticsearch.index.IndexMode;
import org.elasticsearch.index.IndexModule;
Expand Down Expand Up @@ -1496,8 +1495,6 @@ public void testRejectTranslogRetentionSettings() {
);
}

@UpdateForV9(owner = UpdateForV9.Owner.DATA_MANAGEMENT)
@AwaitsFix(bugUrl = "looks like a test that's not applicable to 9.0 after version bump")
public void testDeprecateTranslogRetentionSettings() {
request = new CreateIndexClusterStateUpdateRequest("create index", "test", "test");
final Settings.Builder settings = Settings.builder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import org.elasticsearch.core.Nullable;
import org.elasticsearch.core.Predicates;
import org.elasticsearch.core.SuppressForbidden;
import org.elasticsearch.core.UpdateForV9;
import org.elasticsearch.index.Index;
import org.elasticsearch.index.IndexMode;
import org.elasticsearch.index.IndexNotFoundException;
Expand Down Expand Up @@ -1987,8 +1986,6 @@ public void testHiddenAliasValidation() {
}
}

@UpdateForV9(owner = UpdateForV9.Owner.DATA_MANAGEMENT)
@AwaitsFix(bugUrl = "this test needs to be updated or removed after the version 9.0 bump")
public void testSystemAliasValidationMixedVersionSystemAndRegularFails() {
final IndexVersion random7xVersion = IndexVersionUtils.randomVersionBetween(
random(),
Expand Down Expand Up @@ -2039,8 +2036,6 @@ public void testSystemAliasValidationNewSystemAndRegularFails() {
);
}

@UpdateForV9(owner = UpdateForV9.Owner.DATA_MANAGEMENT)
@AwaitsFix(bugUrl = "this test needs to be updated or removed after the version 9.0 bump")
public void testSystemAliasOldSystemAndNewRegular() {
final IndexVersion random7xVersion = IndexVersionUtils.randomVersionBetween(
random(),
Expand All @@ -2054,8 +2049,6 @@ public void testSystemAliasOldSystemAndNewRegular() {
metadataWithIndices(oldVersionSystem, regularIndex);
}

@UpdateForV9(owner = UpdateForV9.Owner.DATA_MANAGEMENT)
@AwaitsFix(bugUrl = "this test needs to be updated or removed after the version 9.0 bump")
public void testSystemIndexValidationAllRegular() {
final IndexVersion random7xVersion = IndexVersionUtils.randomVersionBetween(
random(),
Expand All @@ -2070,8 +2063,6 @@ public void testSystemIndexValidationAllRegular() {
metadataWithIndices(currentVersionSystem, currentVersionSystem2, oldVersionSystem);
}

@UpdateForV9(owner = UpdateForV9.Owner.DATA_MANAGEMENT)
@AwaitsFix(bugUrl = "this test needs to be updated or removed after the version 9.0 bump")
public void testSystemAliasValidationAllSystemSomeOld() {
final IndexVersion random7xVersion = IndexVersionUtils.randomVersionBetween(
random(),
Expand Down

0 comments on commit 9cbbd2d

Please sign in to comment.