Skip to content

Commit d0d2d58

Browse files
committed
fixing tests
1 parent bbf85df commit d0d2d58

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.get_sample/30_with_data_streams.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@
275275

276276
---
277277
teardown:
278+
- requires:
279+
cluster_features: [ "random_sampling" ]
280+
reason: requires feature 'random_sampling' to get random samples
278281

279282
- do:
280283
indices.delete_data_stream:

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.get_sample_stats/30_with_data_streams.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,9 @@
436436

437437
---
438438
teardown:
439+
- requires:
440+
cluster_features: [ "random_sampling" ]
441+
reason: requires feature 'random_sampling' to get random samples
439442

440443
- do:
441444
indices.delete_data_stream:

0 commit comments

Comments
 (0)