Remove lingering instances of Default distribution in favour of Oss (#440)

Signed-off-by: Himanshu Setia <setiah@amazon.com>
This commit is contained in:
Himanshu Setia 2021-03-22 10:32:57 -07:00 committed by GitHub
parent 1babf43777
commit f27eb8a98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 6 deletions

View File

@ -54,7 +54,7 @@ class TestClustersPluginFuncTest extends AbstractGradleFuncTest {
buildFile << """
testClusters {
myCluster {
testDistribution = 'default'
testDistribution = 'oss'
}
}
@ -80,7 +80,7 @@ class TestClustersPluginFuncTest extends AbstractGradleFuncTest {
buildFile << """
testClusters {
myCluster {
testDistribution = 'default'
testDistribution = 'oss'
extraJarFile(file('${someJar().absolutePath}'))
}
}

View File

@ -29,7 +29,7 @@ class ClusterConfiguration {
private final Project project
@Input
String distribution = 'default'
String distribution = 'oss'
@Input
int numNodes = 1

View File

@ -23,6 +23,5 @@ package org.opensearch.gradle.testclusters;
*/
public enum TestDistribution {
INTEG_TEST,
DEFAULT,
OSS
}

View File

@ -78,7 +78,7 @@ RestIntegTestTask asyncIntegTest = tasks.create("asyncIntegTest", RestIntegTestT
check.dependsOn(asyncIntegTest)
testClusters.all {
testDistribution = 'DEFAULT'
testDistribution = 'OSS'
systemProperty 'opensearch.scripting.update.ctx_in_params', 'false'
setting 'reindex.remote.whitelist', '[ "[::1]:*", "127.0.0.1:*" ]'

View File

@ -91,7 +91,7 @@ dependencies {
testClusters {
generateContextCluster {
testDistribution = 'DEFAULT'
testDistribution = 'OSS'
}
}