Skip to content

Commit bb863e6

Browse files
committed
[X-Pack] Skip usage/analytics usage stats test, only working on 8.0
1 parent c93314d commit bb863e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

elasticsearch-xpack/spec/rest_yaml_tests_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@
155155
SKIPPED_TESTS << { file: 'ml/explain_data_frame_analytics.yml',
156156
description: 'Test non-empty data frame given body'}
157157

158+
# Stats is not working in versions earlier than 8.0.0
159+
SKIPPED_TESTS << { file: 'analytics/usage.yml',
160+
description: 'Usage stats on analytics indices'}
161+
158162
# The directory of rest api YAML files.
159163
REST_API_YAML_FILES = SINGLE_TEST || Dir.glob("#{YAML_FILES_DIRECTORY}/**/*.yml")
160164

0 commit comments

Comments
 (0)