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:
Ryan Ernst 2018-02-23 13:45:38 -08:00 committed by GitHub
parent a77273fc01
commit 3a64e6d121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 2 additions and 12 deletions

View File

@ -106,6 +106,7 @@ public class PluginBuildPlugin extends BuildPlugin {
private static void createIntegTestTask(Project project) {
RestIntegTestTask integTest = project.tasks.create('integTest', RestIntegTestTask.class)
integTest.mustRunAfter(project.precommit, project.test)
project.integTestCluster.distribution = 'integ-test-zip'
project.check.dependsOn(integTest)
}

View File

@ -28,7 +28,7 @@ class ClusterConfiguration {
private final Project project
@Input
String distribution = 'integ-test-zip'
String distribution = 'zip'
@Input
int numNodes = 1

View File

@ -45,7 +45,6 @@ for (Version version : bwcVersions.indexCompatible) {
Object extension = extensions.findByName("${baseName}#oldClusterTestCluster")
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
distribution = 'zip'
bwcVersion = version
numBwcNodes = 2
numNodes = 2
@ -71,7 +70,6 @@ for (Version version : bwcVersions.indexCompatible) {
dependsOn oldClusterTest,
"${baseName}#oldClusterTestCluster#node0.stop",
"${baseName}#oldClusterTestCluster#node1.stop"
distribution = 'zip'
clusterName = 'full-cluster-restart'
// some tests rely on the translog not being flushed

View File

@ -41,7 +41,6 @@ for (Version version : bwcVersions.wireCompatible) {
the nodes has a different minor. */
Object extension = extensions.findByName("${baseName}#mixedClusterTestCluster")
configure(extension) {
distribution = 'zip'
numNodes = 4
numBwcNodes = 2
bwcVersion = version

View File

@ -26,7 +26,6 @@ task remoteClusterTest(type: RestIntegTestTask) {
}
remoteClusterTestCluster {
distribution = 'zip'
numNodes = 2
clusterName = 'remote-cluster'
setting 'search.remote.connect', false
@ -40,7 +39,6 @@ task mixedClusterTest(type: RestIntegTestTask) {}
mixedClusterTestCluster {
dependsOn remoteClusterTestRunner
distribution = 'zip'
setting 'search.remote.my_remote_cluster.seeds', "\"${-> remoteClusterTest.nodes.get(0).transportUri()}\""
setting 'search.remote.connections_per_cluster', 1
setting 'search.remote.connect', true

View File

@ -42,7 +42,6 @@ for (Version version : bwcVersions.indexCompatible) {
}
configure(extensions.findByName("${baseName}#oldQueryBuilderTestCluster")) {
distribution = 'zip'
bwcVersion = version
numBwcNodes = 1
numNodes = 1
@ -57,7 +56,6 @@ for (Version version : bwcVersions.indexCompatible) {
configure(extensions.findByName("${baseName}#upgradedQueryBuilderTestCluster")) {
dependsOn oldQueryBuilderTest,
"${baseName}#oldQueryBuilderTestCluster#stop"
distribution = 'zip'
clusterName = 'query_builder_bwc'
numNodes = 1
dataDir = { nodeNum -> oldQueryBuilderTest.nodes[nodeNum].dataDir }

View File

@ -38,7 +38,6 @@ for (Version version : bwcVersions.wireCompatible) {
Object extension = extensions.findByName("${baseName}#oldClusterTestCluster")
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
distribution = 'zip'
bwcVersion = version
numBwcNodes = 2
numNodes = 2
@ -58,7 +57,6 @@ for (Version version : bwcVersions.wireCompatible) {
configure(extensions.findByName("${baseName}#mixedClusterTestCluster")) {
dependsOn oldClusterTestRunner, "${baseName}#oldClusterTestCluster#node1.stop"
distribution = 'zip'
clusterName = 'rolling-upgrade'
unicastTransportUri = { seedNode, node, ant -> oldClusterTest.nodes.get(0).transportUri() }
minimumMasterNodes = { 2 }
@ -78,7 +76,6 @@ for (Version version : bwcVersions.wireCompatible) {
configure(extensions.findByName("${baseName}#upgradedClusterTestCluster")) {
dependsOn mixedClusterTestRunner, "${baseName}#oldClusterTestCluster#node0.stop"
distribution = 'zip'
clusterName = 'rolling-upgrade'
unicastTransportUri = { seedNode, node, ant -> mixedClusterTest.nodes.get(0).transportUri() }
minimumMasterNodes = { 2 }

View File

@ -37,7 +37,6 @@ for (Version version : bwcVersions.indexCompatible) {
mustRunAfter(precommit)
}
configure(extensions.findByName("${baseName}#oldClusterTestCluster")) {
distribution = 'zip'
bwcVersion = version
numBwcNodes = 1
numNodes = 1