mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
Mute testSnapshotRestore in bcUpgradeTest (#129767)
This commit is contained in:
parent
706e7f3b6f
commit
1edf77c1df
2 changed files with 18 additions and 0 deletions
|
@ -29,6 +29,15 @@ tasks.register("luceneBwcTest", StandaloneRestIntegTestTask) {
|
|||
onlyIf("tests.bwc.main.version system property exists") { System.getProperty("tests.bwc.main.version") != null }
|
||||
}
|
||||
|
||||
tasks.named("bcUpgradeTest").configure {
|
||||
filter {
|
||||
// Mute testSnapshotRestore: it uses string compare of Version (from the cluster, saved in the snapshot) with tests.bwc.main.version,
|
||||
// which does not work for SNAPSHOT builds
|
||||
excludeTestsMatching("org.elasticsearch.upgrades.FullClusterRestartIT.testSnapshotRestore")
|
||||
excludeTestsMatching("org.elasticsearch.upgrades.FullClusterRestartIT.testSnapshotRestore *")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(Test).configureEach {
|
||||
// CI doesn't like it when there's multiple clusters running at once
|
||||
maxParallelForks = 1
|
||||
|
|
|
@ -29,3 +29,12 @@ buildParams.bwcVersions.withIndexCompatible { bwcVersion, baseName ->
|
|||
maxParallelForks = 1
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named("bcUpgradeTest").configure {
|
||||
filter {
|
||||
// Mute testSnapshotRestore: it uses string compare of Version (from the cluster, saved in the snapshot) with tests.bwc.main.version,
|
||||
// which does not work for SNAPSHOT builds
|
||||
excludeTestsMatching("org.elasticsearch.xpack.restart.CoreFullClusterRestartIT.testSnapshotRestore")
|
||||
excludeTestsMatching("org.elasticsearch.xpack.restart.CoreFullClusterRestartIT.testSnapshotRestore *")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue