Skip to content

Commit 5cea933

Browse files
committed
Rename integTest to bwcTestSample for bwc test projects (#38433)
* Rename integTest to bwcTestSample for bwc test projects This change renames the `integTest` task to `bwcTestSample` for projects testing bwc to make it possible to run all the bwc tests that check would run without running on bwc tests. This change makes it possible to add a new PR check on backports to make sure these don't break BWC tests in master. * Rename task as per PR
1 parent b5e0ad1 commit 5cea933

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

qa/full-cluster-restart/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ for (Version version : bwcVersions.indexCompatible) {
9898
unitTest.enabled = false // no unit tests for rolling upgrades, only the rest integration test
9999

100100
// basic integ tests includes testing bwc against the most recent version
101-
task integTest {
101+
task bwcTestSnapshots {
102102
if (project.bwc_tests_enabled) {
103103
for (final def version : bwcVersions.unreleasedIndexCompatible) {
104104
dependsOn "v${version}#bwcTest"
105105
}
106106
}
107107
}
108108

109-
check.dependsOn(integTest)
109+
check.dependsOn(bwcTestSnapshots)

qa/mixed-cluster/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ for (Version version : bwcVersions.wireCompatible) {
6666
unitTest.enabled = false // no unit tests for rolling upgrades, only the rest integration test
6767

6868
// basic integ tests includes testing bwc against the most recent version
69-
task integTest {
69+
task bwcTestSnapshots {
7070
if (project.bwc_tests_enabled) {
7171
for (final def version : bwcVersions.unreleasedWireCompatible) {
7272
dependsOn "v${version}#bwcTest"
7373
}
7474
}
7575
}
7676

77-
check.dependsOn(integTest)
77+
check.dependsOn(bwcTestSnapshots)

qa/rolling-upgrade/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ for (Version version : bwcVersions.wireCompatible) {
149149
unitTest.enabled = false // no unit tests for rolling upgrades, only the rest integration test
150150

151151
// basic integ tests includes testing bwc against the most recent version
152-
task integTest {
152+
task bwcTestSnapshots {
153153
if (project.bwc_tests_enabled) {
154154
for (final def version : bwcVersions.unreleasedWireCompatible) {
155155
dependsOn "v${version}#bwcTest"
156156
}
157157
}
158158
}
159159

160-
check.dependsOn(integTest)
160+
check.dependsOn(bwcTestSnapshots)

qa/verify-version-constants/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ for (Version version : bwcVersions.indexCompatible) {
5858

5959
unitTest.enabled = false
6060

61-
task integTest {
61+
task bwcTestSnapshots {
6262
if (project.bwc_tests_enabled) {
6363
final def version = bwcVersions.unreleasedIndexCompatible.first()
6464
dependsOn "v${version}#bwcTest"
@@ -87,4 +87,4 @@ task verifyDocsLuceneVersion {
8787
}
8888
}
8989

90-
check.dependsOn integTest, verifyDocsLuceneVersion
90+
check.dependsOn bwcTestSnapshots, verifyDocsLuceneVersion

x-pack/qa/full-cluster-restart/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,15 @@ subprojects {
262262
unitTest.enabled = false // no unit tests for full cluster restarts, only the rest integration test
263263

264264
// basic integ tests includes testing bwc against the most recent version
265-
task integTest {
265+
task bwcTestSnapshots {
266266
if (project.bwc_tests_enabled) {
267267
for (final def version : bwcVersions.unreleasedIndexCompatible) {
268268
dependsOn "v${version}#bwcTest"
269269
}
270270
}
271271
}
272272

273-
check.dependsOn(integTest)
273+
check.dependsOn(bwcTestSnapshots)
274274

275275
dependencies {
276276
// "org.elasticsearch.plugin:x-pack-core:${version}" doesn't work with idea because the testArtifacts are also here

x-pack/qa/rolling-upgrade/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,14 +327,14 @@ subprojects {
327327
unitTest.enabled = false // no unit tests for rolling upgrades, only the rest integration test
328328

329329
// basic integ tests includes testing bwc against the most recent version
330-
task integTest {
330+
task bwcTestSnapshots {
331331
if (project.bwc_tests_enabled) {
332332
for (final def version : bwcVersions.unreleasedWireCompatible) {
333333
dependsOn "v${version}#bwcTest"
334334
}
335335
}
336336
}
337-
check.dependsOn(integTest)
337+
check.dependsOn(bwcTestSnapshots)
338338

339339
dependencies {
340340
// "org.elasticsearch.plugin:x-pack-core:${version}" doesn't work with idea because the testArtifacts are also here

0 commit comments

Comments
 (0)