mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
parent
369db8a9d6
commit
74d41857c6
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
package org.elasticsearch.xpack.ccr;
|
package org.elasticsearch.xpack.ccr;
|
||||||
|
|
||||||
|
import org.apache.lucene.util.Constants;
|
||||||
import org.elasticsearch.client.Request;
|
import org.elasticsearch.client.Request;
|
||||||
import org.elasticsearch.client.ResponseException;
|
import org.elasticsearch.client.ResponseException;
|
||||||
import org.elasticsearch.common.Booleans;
|
import org.elasticsearch.common.Booleans;
|
||||||
@ -47,6 +48,7 @@ public class CcrMultiClusterLicenseIT extends ESRestTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAutoFollow() throws Exception {
|
public void testAutoFollow() throws Exception {
|
||||||
|
assumeFalse("windows is the worst", Constants.WINDOWS);
|
||||||
if (runningAgainstLeaderCluster == false) {
|
if (runningAgainstLeaderCluster == false) {
|
||||||
final Request request = new Request("PUT", "/_ccr/auto_follow/leader_cluster");
|
final Request request = new Request("PUT", "/_ccr/auto_follow/leader_cluster");
|
||||||
request.setJsonEntity("{\"leader_index_patterns\":[\"*\"]}");
|
request.setJsonEntity("{\"leader_index_patterns\":[\"*\"]}");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user