File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+ * or more contributor license agreements. Licensed under the Elastic License
4+ * 2.0; you may not use this file except in compliance with the Elastic License
5+ * 2.0.
6+ */
7+
8+ package org .elasticsearch .xpack .esql .ccq ;
9+
10+ import com .carrotsearch .randomizedtesting .annotations .ThreadLeakFilters ;
11+
12+ import org .elasticsearch .test .TestClustersThreadFilter ;
13+ import org .elasticsearch .test .cluster .ElasticsearchCluster ;
14+ import org .junit .ClassRule ;
15+ import org .junit .rules .RuleChain ;
16+ import org .junit .rules .TestRule ;
17+
18+ // Duplicate of EsqlRestValidationIT test where skip_unavailable is set to false
19+ @ ThreadLeakFilters (filters = TestClustersThreadFilter .class )
20+ public class EsqlRestValidationSkipUnFalseIT extends EsqlRestValidationIT {
21+ static ElasticsearchCluster localCluster = Clusters .localCluster (remoteCluster , false );
22+
23+ @ ClassRule
24+ public static TestRule clusterRule = RuleChain .outerRule (remoteCluster ).around (localCluster );
25+
26+ @ Override
27+ protected String getTestRestCluster () {
28+ return localCluster .getHttpAddresses ();
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments