Skip to content

Commit e4f7f08

Browse files
authored
mute test on bugged versions (#127730)
Skips SystemIndicesUpgradeIT when running against 8.0.x due to a bug in that existing released version.
1 parent f619287 commit e4f7f08

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/SystemIndicesUpgradeIT.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import org.elasticsearch.tasks.Task;
2424
import org.elasticsearch.xcontent.json.JsonXContent;
2525
import org.elasticsearch.xpack.test.SecuritySettingsSourceField;
26+
import org.junit.BeforeClass;
2627

2728
import java.io.IOException;
2829
import java.util.List;
@@ -40,6 +41,11 @@ public class SystemIndicesUpgradeIT extends AbstractUpgradeTestCase {
4041
new SecureString(SecuritySettingsSourceField.TEST_PASSWORD)
4142
);
4243

44+
@BeforeClass
45+
public static void avoidBugIn8_0_1() {
46+
assumeTrue("https://github.com/elastic/elasticsearch/issues/125168", isOriginalClusterVersionAtLeast(Version.V_8_1_0));
47+
}
48+
4349
@Override
4450
protected Settings restAdminSettings() {
4551
// Note that we are both superuser here and provide a product origin

0 commit comments

Comments
 (0)