From b04b3173db3dd69ba1e70a388f8f8d609e6e6932 Mon Sep 17 00:00:00 2001 From: Dimitris Athanasiou Date: Thu, 3 Jan 2019 15:15:31 +0200 Subject: [PATCH] [ML][TEST] Clean up max_model_memory_limit cluster setting (#37101) Removes the `xpack.ml.max_model_memory_limit` cluster setting at the teardown of the `ml_info.yml` tests to ensure the setting does not trip other tests. --- .../src/test/resources/rest-api-spec/test/ml/ml_info.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_info.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_info.yml index 7d2b05e8528..0013661e6d4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_info.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/ml/ml_info.yml @@ -1,3 +1,11 @@ +teardown: + + - do: + cluster.put_settings: + body: + persistent: + xpack.ml.max_model_memory_limit: null + --- "Test ml info": - do: