diff --git a/buildSrc/src/integTest/groovy/org/opensearch/gradle/TestClustersPluginFuncTest.groovy b/buildSrc/src/integTest/groovy/org/opensearch/gradle/TestClustersPluginFuncTest.groovy index e1d3f028185..7003bce3c9d 100644 --- a/buildSrc/src/integTest/groovy/org/opensearch/gradle/TestClustersPluginFuncTest.groovy +++ b/buildSrc/src/integTest/groovy/org/opensearch/gradle/TestClustersPluginFuncTest.groovy @@ -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}')) } } diff --git a/buildSrc/src/main/groovy/org/opensearch/gradle/test/ClusterConfiguration.groovy b/buildSrc/src/main/groovy/org/opensearch/gradle/test/ClusterConfiguration.groovy index dfde5e7a26b..b30cbf7ddf1 100644 --- a/buildSrc/src/main/groovy/org/opensearch/gradle/test/ClusterConfiguration.groovy +++ b/buildSrc/src/main/groovy/org/opensearch/gradle/test/ClusterConfiguration.groovy @@ -29,7 +29,7 @@ class ClusterConfiguration { private final Project project @Input - String distribution = 'default' + String distribution = 'oss' @Input int numNodes = 1 diff --git a/buildSrc/src/main/java/org/opensearch/gradle/testclusters/TestDistribution.java b/buildSrc/src/main/java/org/opensearch/gradle/testclusters/TestDistribution.java index 74c8cdcbb4d..f4ee32a9e71 100644 --- a/buildSrc/src/main/java/org/opensearch/gradle/testclusters/TestDistribution.java +++ b/buildSrc/src/main/java/org/opensearch/gradle/testclusters/TestDistribution.java @@ -23,6 +23,5 @@ package org.opensearch.gradle.testclusters; */ public enum TestDistribution { INTEG_TEST, - DEFAULT, OSS } diff --git a/client/rest-high-level/build.gradle b/client/rest-high-level/build.gradle index 8506e35351d..97f85eaeff4 100644 --- a/client/rest-high-level/build.gradle +++ b/client/rest-high-level/build.gradle @@ -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:*" ]' diff --git a/modules/lang-painless/build.gradle b/modules/lang-painless/build.gradle index 6c68c722e75..dd7cea66bca 100644 --- a/modules/lang-painless/build.gradle +++ b/modules/lang-painless/build.gradle @@ -91,7 +91,7 @@ dependencies { testClusters { generateContextCluster { - testDistribution = 'DEFAULT' + testDistribution = 'OSS' } }