From 58753e7702f1c4e3578daaa0e939a72fe1b274a5 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Wed, 30 Jan 2019 22:45:13 -0500 Subject: [PATCH] Disable test for CM that fails until the snapshot is ready (#10446) --- x-pack/libbeat/tests/system/test_management.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/x-pack/libbeat/tests/system/test_management.py b/x-pack/libbeat/tests/system/test_management.py index 21fea6101025..dc8d87698cd7 100644 --- a/x-pack/libbeat/tests/system/test_management.py +++ b/x-pack/libbeat/tests/system/test_management.py @@ -85,8 +85,9 @@ def test_enroll_bad_pw(self): new_content = open(config_path, 'r').read() assert config_content == new_content - @unittest.skipIf(not INTEGRATION_TESTS, - "integration tests are disabled, run with INTEGRATION_TESTS=1 to enable them.") + # @unittest.skipIf(not INTEGRATION_TESTS, + # "integration tests are disabled, run with INTEGRATION_TESTS=1 to enable them.") + @unittest.skip("Skipping because snapshot is not ready yet. see #10446") def test_fetch_configs(self): """ Config is retrieved from Central Management and updates are applied @@ -152,8 +153,9 @@ def test_fetch_configs(self): proc.check_kill_and_wait() - @unittest.skipIf(not INTEGRATION_TESTS, - "integration tests are disabled, run with INTEGRATION_TESTS=1 to enable them.") + # @unittest.skipIf(not INTEGRATION_TESTS, + # "integration tests are disabled, run with INTEGRATION_TESTS=1 to enable them.") + @unittest.skip("Skipping because snapshot is not ready yet. see #10446") def test_configs_cache(self): """ Config cache is used if Kibana is not available @@ -255,6 +257,7 @@ def create_and_assing_tag(self, blocks): url = self.get_kibana_url() + "/api/beats/agents_tags/assignments" r = requests.post(url, json=data, headers=headers, auth=(self.es_user, self.es_pass)) + assert r.status_code == 200 def get_elasticsearch_url(self):