Test: Remove specifying zip distribution in qa tests (#28805)
Applying the rest test gradle plugin already uses the zip distribution by default, so specifying it explicitly is not necessary. These are leftovers from before zip was the default for rest tests.
This commit is contained in:
parent
a77273fc01
commit
3a64e6d121
|
@ -106,6 +106,7 @@ public class PluginBuildPlugin extends BuildPlugin {
|
||||||
private static void createIntegTestTask(Project project) {
|
private static void createIntegTestTask(Project project) {
|
||||||
RestIntegTestTask integTest = project.tasks.create('integTest', RestIntegTestTask.class)
|
RestIntegTestTask integTest = project.tasks.create('integTest', RestIntegTestTask.class)
|
||||||
integTest.mustRunAfter(project.precommit, project.test)
|
integTest.mustRunAfter(project.precommit, project.test)
|
||||||
|
project.integTestCluster.distribution = 'integ-test-zip'
|
||||||
project.check.dependsOn(integTest)
|
project.check.dependsOn(integTest)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ class ClusterConfiguration {
|
||||||
private final Project project
|
private final Project project
|
||||||
|
|
||||||
@Input
|
@Input
|
||||||
String distribution = 'integ-test-zip'
|
String distribution = 'zip'
|
||||||
|
|
||||||
@Input
|
@Input
|
||||||
int numNodes = 1
|
int numNodes = 1
|
||||||
|
|
|
@ -45,7 +45,6 @@ for (Version version : bwcVersions.indexCompatible) {
|
||||||
|
|
||||||
Object extension = extensions.findByName("${baseName}#oldClusterTestCluster")
|
Object extension = extensions.findByName("${baseName}#oldClusterTestCluster")
|
||||||
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
|
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
|
||||||
distribution = 'zip'
|
|
||||||
bwcVersion = version
|
bwcVersion = version
|
||||||
numBwcNodes = 2
|
numBwcNodes = 2
|
||||||
numNodes = 2
|
numNodes = 2
|
||||||
|
@ -71,7 +70,6 @@ for (Version version : bwcVersions.indexCompatible) {
|
||||||
dependsOn oldClusterTest,
|
dependsOn oldClusterTest,
|
||||||
"${baseName}#oldClusterTestCluster#node0.stop",
|
"${baseName}#oldClusterTestCluster#node0.stop",
|
||||||
"${baseName}#oldClusterTestCluster#node1.stop"
|
"${baseName}#oldClusterTestCluster#node1.stop"
|
||||||
distribution = 'zip'
|
|
||||||
clusterName = 'full-cluster-restart'
|
clusterName = 'full-cluster-restart'
|
||||||
|
|
||||||
// some tests rely on the translog not being flushed
|
// some tests rely on the translog not being flushed
|
||||||
|
|
|
@ -41,7 +41,6 @@ for (Version version : bwcVersions.wireCompatible) {
|
||||||
the nodes has a different minor. */
|
the nodes has a different minor. */
|
||||||
Object extension = extensions.findByName("${baseName}#mixedClusterTestCluster")
|
Object extension = extensions.findByName("${baseName}#mixedClusterTestCluster")
|
||||||
configure(extension) {
|
configure(extension) {
|
||||||
distribution = 'zip'
|
|
||||||
numNodes = 4
|
numNodes = 4
|
||||||
numBwcNodes = 2
|
numBwcNodes = 2
|
||||||
bwcVersion = version
|
bwcVersion = version
|
||||||
|
|
|
@ -26,7 +26,6 @@ task remoteClusterTest(type: RestIntegTestTask) {
|
||||||
}
|
}
|
||||||
|
|
||||||
remoteClusterTestCluster {
|
remoteClusterTestCluster {
|
||||||
distribution = 'zip'
|
|
||||||
numNodes = 2
|
numNodes = 2
|
||||||
clusterName = 'remote-cluster'
|
clusterName = 'remote-cluster'
|
||||||
setting 'search.remote.connect', false
|
setting 'search.remote.connect', false
|
||||||
|
@ -40,7 +39,6 @@ task mixedClusterTest(type: RestIntegTestTask) {}
|
||||||
|
|
||||||
mixedClusterTestCluster {
|
mixedClusterTestCluster {
|
||||||
dependsOn remoteClusterTestRunner
|
dependsOn remoteClusterTestRunner
|
||||||
distribution = 'zip'
|
|
||||||
setting 'search.remote.my_remote_cluster.seeds', "\"${-> remoteClusterTest.nodes.get(0).transportUri()}\""
|
setting 'search.remote.my_remote_cluster.seeds', "\"${-> remoteClusterTest.nodes.get(0).transportUri()}\""
|
||||||
setting 'search.remote.connections_per_cluster', 1
|
setting 'search.remote.connections_per_cluster', 1
|
||||||
setting 'search.remote.connect', true
|
setting 'search.remote.connect', true
|
||||||
|
|
|
@ -42,7 +42,6 @@ for (Version version : bwcVersions.indexCompatible) {
|
||||||
}
|
}
|
||||||
|
|
||||||
configure(extensions.findByName("${baseName}#oldQueryBuilderTestCluster")) {
|
configure(extensions.findByName("${baseName}#oldQueryBuilderTestCluster")) {
|
||||||
distribution = 'zip'
|
|
||||||
bwcVersion = version
|
bwcVersion = version
|
||||||
numBwcNodes = 1
|
numBwcNodes = 1
|
||||||
numNodes = 1
|
numNodes = 1
|
||||||
|
@ -57,7 +56,6 @@ for (Version version : bwcVersions.indexCompatible) {
|
||||||
configure(extensions.findByName("${baseName}#upgradedQueryBuilderTestCluster")) {
|
configure(extensions.findByName("${baseName}#upgradedQueryBuilderTestCluster")) {
|
||||||
dependsOn oldQueryBuilderTest,
|
dependsOn oldQueryBuilderTest,
|
||||||
"${baseName}#oldQueryBuilderTestCluster#stop"
|
"${baseName}#oldQueryBuilderTestCluster#stop"
|
||||||
distribution = 'zip'
|
|
||||||
clusterName = 'query_builder_bwc'
|
clusterName = 'query_builder_bwc'
|
||||||
numNodes = 1
|
numNodes = 1
|
||||||
dataDir = { nodeNum -> oldQueryBuilderTest.nodes[nodeNum].dataDir }
|
dataDir = { nodeNum -> oldQueryBuilderTest.nodes[nodeNum].dataDir }
|
||||||
|
|
|
@ -38,7 +38,6 @@ for (Version version : bwcVersions.wireCompatible) {
|
||||||
|
|
||||||
Object extension = extensions.findByName("${baseName}#oldClusterTestCluster")
|
Object extension = extensions.findByName("${baseName}#oldClusterTestCluster")
|
||||||
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
|
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
|
||||||
distribution = 'zip'
|
|
||||||
bwcVersion = version
|
bwcVersion = version
|
||||||
numBwcNodes = 2
|
numBwcNodes = 2
|
||||||
numNodes = 2
|
numNodes = 2
|
||||||
|
@ -58,7 +57,6 @@ for (Version version : bwcVersions.wireCompatible) {
|
||||||
|
|
||||||
configure(extensions.findByName("${baseName}#mixedClusterTestCluster")) {
|
configure(extensions.findByName("${baseName}#mixedClusterTestCluster")) {
|
||||||
dependsOn oldClusterTestRunner, "${baseName}#oldClusterTestCluster#node1.stop"
|
dependsOn oldClusterTestRunner, "${baseName}#oldClusterTestCluster#node1.stop"
|
||||||
distribution = 'zip'
|
|
||||||
clusterName = 'rolling-upgrade'
|
clusterName = 'rolling-upgrade'
|
||||||
unicastTransportUri = { seedNode, node, ant -> oldClusterTest.nodes.get(0).transportUri() }
|
unicastTransportUri = { seedNode, node, ant -> oldClusterTest.nodes.get(0).transportUri() }
|
||||||
minimumMasterNodes = { 2 }
|
minimumMasterNodes = { 2 }
|
||||||
|
@ -78,7 +76,6 @@ for (Version version : bwcVersions.wireCompatible) {
|
||||||
|
|
||||||
configure(extensions.findByName("${baseName}#upgradedClusterTestCluster")) {
|
configure(extensions.findByName("${baseName}#upgradedClusterTestCluster")) {
|
||||||
dependsOn mixedClusterTestRunner, "${baseName}#oldClusterTestCluster#node0.stop"
|
dependsOn mixedClusterTestRunner, "${baseName}#oldClusterTestCluster#node0.stop"
|
||||||
distribution = 'zip'
|
|
||||||
clusterName = 'rolling-upgrade'
|
clusterName = 'rolling-upgrade'
|
||||||
unicastTransportUri = { seedNode, node, ant -> mixedClusterTest.nodes.get(0).transportUri() }
|
unicastTransportUri = { seedNode, node, ant -> mixedClusterTest.nodes.get(0).transportUri() }
|
||||||
minimumMasterNodes = { 2 }
|
minimumMasterNodes = { 2 }
|
||||||
|
|
|
@ -37,7 +37,6 @@ for (Version version : bwcVersions.indexCompatible) {
|
||||||
mustRunAfter(precommit)
|
mustRunAfter(precommit)
|
||||||
}
|
}
|
||||||
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
|
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
|
||||||
distribution = 'zip'
|
|
||||||
bwcVersion = version
|
bwcVersion = version
|
||||||
numBwcNodes = 1
|
numBwcNodes = 1
|
||||||
numNodes = 1
|
numNodes = 1
|
||||||
|
|
Loading…
Reference in New Issue