diff --git a/build.gradle b/build.gradle index 5ce91172..b80e88a7 100644 --- a/build.gradle +++ b/build.gradle @@ -10,8 +10,8 @@ buildscript { distribution = 'oss-zip' opensearch_group = "org.opensearch" isSnapshot = "true" == System.getProperty("build.snapshot", "true") - opensearch_version = System.getProperty("opensearch.version", "2.10.0-SNAPSHOT") - opensearch_plugin_version = System.getProperty("bwc.version", "2.9.0.0") + opensearch_version = System.getProperty("opensearch.version", "2.11.0-SNAPSHOT") + opensearch_plugin_version = System.getProperty("bwc.version", "2.10.0.0") buildVersionQualifier = System.getProperty("build.version_qualifier", "") // 2.0.0-rc1-SNAPSHOT -> 2.0.0.0-rc1-SNAPSHOT version_tokens = opensearch_version.tokenize('-') @@ -259,7 +259,7 @@ ext.getPluginResource = { download_to_folder, download_from_src -> } String baseName = "asynSearchCluster" -String bwcVersionShort = "2.9.0" +String bwcVersionShort = "2.10.0" String bwcVersion = bwcVersionShort + ".0" String bwcFilePath = "src/test/resources/org/opensearch/search/asynchronous/bwc/" String bwcRemoteFile = "https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/"+ bwcVersionShort + "/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-asynchronous-search-"+ bwcVersion +".zip" @@ -269,7 +269,7 @@ getPluginResource(bwcFilePath + bwcVersion, bwcRemoteFile) testClusters { "${baseName}$i" { testDistribution = "ARCHIVE" - versions = ["2.9.0",opensearch_version] + versions = ["2.10.0",opensearch_version] numberOfNodes = 3 plugin(provider(new Callable() { @Override diff --git a/src/test/java/org/opensearch/search/asynchronous/management/AsynchronousSearchManagementServiceTests.java b/src/test/java/org/opensearch/search/asynchronous/management/AsynchronousSearchManagementServiceTests.java index 1f725514..683f8e7d 100644 --- a/src/test/java/org/opensearch/search/asynchronous/management/AsynchronousSearchManagementServiceTests.java +++ b/src/test/java/org/opensearch/search/asynchronous/management/AsynchronousSearchManagementServiceTests.java @@ -25,6 +25,7 @@ import org.opensearch.common.settings.Settings; import org.opensearch.common.util.set.Sets; import org.opensearch.core.index.Index; +import org.opensearch.telemetry.tracing.noop.NoopTracer; import org.opensearch.test.ClusterServiceUtils; import org.opensearch.test.OpenSearchTestCase; import org.opensearch.test.transport.MockTransport; @@ -115,7 +116,8 @@ protected void onSendRequest(long requestId, String action, TransportRequest req }; final TransportService transportService = mockTransport.createTransportService(settings, deterministicTaskQueue.getThreadPool(), NOOP_TRANSPORT_INTERCEPTOR, boundTransportAddress -> - new DiscoveryNode("local-node", buildNewFakeTransportAddress(), Version.CURRENT), null, emptySet()); + new DiscoveryNode("local-node", buildNewFakeTransportAddress(), Version.CURRENT), null, emptySet(), + NoopTracer.INSTANCE); transportService.start(); transportService.acceptIncomingRequests(); AsynchronousSearchManagementService managementService = new AsynchronousSearchManagementService(settings, mockClusterService, diff --git a/src/test/resources/org/opensearch/search/asynchronous/bwc/2.10.0.0/opensearch-asynchronous-search-2.10.0.0.zip b/src/test/resources/org/opensearch/search/asynchronous/bwc/2.10.0.0/opensearch-asynchronous-search-2.10.0.0.zip new file mode 100644 index 00000000..80c97db5 Binary files /dev/null and b/src/test/resources/org/opensearch/search/asynchronous/bwc/2.10.0.0/opensearch-asynchronous-search-2.10.0.0.zip differ