File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 77 * License v3.0 only", or the "Server Side Public License, v 1".
88 */
99
10+ import org.elasticsearch.gradle.Version
1011import org.elasticsearch.gradle.testclusters.StandaloneRestIntegTestTask
1112
1213apply plugin : ' elasticsearch.internal-java-rest-test'
@@ -25,6 +26,18 @@ buildParams.bwcVersions.withWireCompatible { bwcVersion, baseName ->
2526 }
2627}
2728
29+ tasks. register(" bcUpgradeTest" , StandaloneRestIntegTestTask ) {
30+ // We use a phony version here as the real version is provided via `tests.bwc.main.version` system property
31+ usesBwcDistribution(Version . fromString(" 0.0.0" ))
32+ systemProperty(" tests.old_cluster_version" , " 0.0.0" )
33+ onlyIf(" tests.bwc.main.version system property exists" ) { System . getProperty(" tests.bwc.main.version" ) != null }
34+ filter {
35+ // filter tests initially for quicker iterations
36+ // TODO remove once expanding the test set to other modules
37+ includeTestsMatching(" org.elasticsearch.upgrades.IndexingIT" )
38+ }
39+ }
40+
2841tasks. withType(Test ). configureEach {
2942 // CI doesn't like it when there's multiple clusters running at once
3043 maxParallelForks = 1
You can’t perform that action at this time.
0 commit comments