Skip to content

Commit 7518b1c

Browse files
committed
Do not reuse test cluster in CrossClusterSearchIT
The `testProxyConnectionDisconnect` test can use a node without the remote_cluster_client that is created in `testRemoteClusterClientRole`.
1 parent 26350df commit 7518b1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

server/src/internalClusterTest/java/org/elasticsearch/search/ccs/CrossClusterSearchIT.java

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ protected Collection<String> remoteClusterAlias() {
5959
return List.of("cluster_a");
6060
}
6161

62+
@Override
63+
protected boolean reuseClusters() {
64+
return false;
65+
}
66+
6267
private int indexDocs(Client client, String index) {
6368
int numDocs = between(1, 10);
6469
for (int i = 0; i < numDocs; i++) {

0 commit comments

Comments
 (0)