File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
elasticsearch-xpack/spec/xpack Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ class << self
181
181
def wipe_cluster ( client )
182
182
if xpack?
183
183
clear_rollup_jobs ( client )
184
- clear_sml_policies ( client )
185
184
wait_for_pending_tasks ( client )
185
+ clear_sml_policies ( client )
186
186
end
187
187
clear_snapshots_and_repositories ( client )
188
188
clear_datastreams ( client ) if xpack?
Original file line number Diff line number Diff line change 56
56
# todo: remove these two lines when Dimitris' PR is merged
57
57
ADMIN_CLIENT . cluster . put_settings ( body : { transient : { 'xpack.ml.max_model_memory_limit' => nil } } )
58
58
ADMIN_CLIENT . cluster . put_settings ( body : { persistent : { 'xpack.ml.max_model_memory_limit' => nil } } )
59
- Elasticsearch ::RestAPIYAMLTests ::TestFile . wipe_cluster ( ADMIN_CLIENT )
60
59
test_file . setup
61
60
end
62
61
63
62
after ( :all ) do
64
63
test_file . teardown
64
+ Elasticsearch ::RestAPIYAMLTests ::TestFile . wipe_cluster ( ADMIN_CLIENT )
65
65
end
66
66
67
67
test . task_groups . each do |task_group |
You can’t perform that action at this time.
0 commit comments