Skip to content

Commit 7ea40d8

Browse files
committed
fix test
1 parent f1e7ed8 commit 7ea40d8

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/200_ccs_stats.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,3 @@
1-
---
2-
"cross-cluster query stats basic":
3-
- requires:
4-
test_runner_features: [ capabilities ]
5-
capabilities:
6-
- method: GET
7-
path: /_cluster/stats
8-
capabilities:
9-
- "esql-stats"
10-
reason: "Capability required to run test"
11-
12-
- do:
13-
cluster.stats: { }
14-
15-
- is_true: ccs
16-
- is_true: ccs._esql
17-
- is_false: ccs.clusters # no ccs clusters configured
18-
- exists: ccs._esql.total
19-
- exists: ccs._esql.success
20-
- exists: ccs._esql.skipped
21-
- is_true: ccs._esql.took
22-
- exists: ccs._esql.remotes_per_search_max
23-
- exists: ccs._esql.remotes_per_search_avg
24-
- exists: ccs._esql.failure_reasons
25-
- exists: ccs._esql.features
26-
- exists: ccs._esql.clients
27-
- exists: ccs._esql.clusters
28-
291
---
302
"cross-cluster stats after query":
313
- requires:
@@ -89,7 +61,7 @@
8961
- do:
9062
esql.query:
9163
body:
92-
query: 'from *,*:*'
64+
query: 'from *,*:* | limit 100'
9365

9466
- do:
9567
cluster.stats: {}

0 commit comments

Comments
 (0)