Skip to content

Commit

Permalink
Merge 9f389e5 into 17342b7
Browse files Browse the repository at this point in the history
  • Loading branch information
RS146BIJAY authored Oct 4, 2023
2 parents 17342b7 + 9f389e5 commit 9bf2ed0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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('-')
Expand Down Expand Up @@ -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 ->
Expand Down
Original file line number Diff line number Diff line change
@@ -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))
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 9bf2ed0

Please sign in to comment.