diff --git a/build.gradle b/build.gradle index e9c6d74f..1103b6fd 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ buildscript { opensearch_group = "org.opensearch" isSnapshot = "true" == System.getProperty("build.snapshot", "true") opensearch_version = System.getProperty("opensearch.version", "3.0.0-SNAPSHOT") - opensearch_plugin_version = System.getProperty("bwc.version", "2.10.0.0") + opensearch_plugin_version = System.getProperty("bwc.version", "2.11.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,10 +259,10 @@ ext.getPluginResource = { download_to_folder, download_from_src -> } String baseName = "asynSearchCluster" -String bwcVersionShort = "2.10.0" +String bwcVersionShort = "2.11.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/2.10.0/8288/linux/x64/tar/builds/opensearch/plugins/opensearch-asynchronous-search-2.10.0.0.zip" +String bwcRemoteFile = "https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/"+ bwcVersionShort + "/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-asynchronous-search-"+ bwcVersion +".zip" getPluginResource(bwcFilePath + bwcVersion, bwcRemoteFile) // Creates two test clusters of previous version and loads opensearch plugin of bwcVersion 2.times { i -> diff --git a/release-notes/opensearch-asynchronous-search.release-notes-2.11.0.0.md b/release-notes/opensearch-asynchronous-search.release-notes-2.11.0.0.md new file mode 100644 index 00000000..87951f8a --- /dev/null +++ b/release-notes/opensearch-asynchronous-search.release-notes-2.11.0.0.md @@ -0,0 +1,6 @@ +## Version 2.11.0.0 2023-10-18 + +Compatible with OpenSearch 2.11.0 + +### Maintenance +* Increment version to 2.11.0 ([#446](https://github.com/opensearch-project/asynchronous-search/pull/446)) 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 85c33233..eb916ef0 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/2.10.0.0/opensearch-asynchronous-search-2.10.0.0.zip b/src/test/resources/2.10.0.0/opensearch-asynchronous-search-2.10.0.0.zip deleted file mode 100644 index 91e9b6e0..00000000 Binary files a/src/test/resources/2.10.0.0/opensearch-asynchronous-search-2.10.0.0.zip and /dev/null differ diff --git a/src/test/resources/org/opensearch/search/asynchronous/bwc/2.11.0.0/opensearch-asynchronous-search-2.11.0.0.zip b/src/test/resources/org/opensearch/search/asynchronous/bwc/2.11.0.0/opensearch-asynchronous-search-2.11.0.0.zip new file mode 100644 index 00000000..813d8205 Binary files /dev/null and b/src/test/resources/org/opensearch/search/asynchronous/bwc/2.11.0.0/opensearch-asynchronous-search-2.11.0.0.zip differ diff --git a/src/test/resources/org/opensearch/search/asynchronous/bwc/2.9.0.0/opensearch-asynchronous-search-2.9.0.0.zip b/src/test/resources/org/opensearch/search/asynchronous/bwc/2.9.0.0/opensearch-asynchronous-search-2.9.0.0.zip deleted file mode 100644 index fa482667..00000000 Binary files a/src/test/resources/org/opensearch/search/asynchronous/bwc/2.9.0.0/opensearch-asynchronous-search-2.9.0.0.zip and /dev/null differ