Skip to content

Commit

Permalink
Disable test for CM that fails until the snapshot is ready (#10446)
Browse files Browse the repository at this point in the history
  • Loading branch information
ph authored and ycombinator committed Jan 31, 2019
1 parent 5f90c08 commit 58753e7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions x-pack/libbeat/tests/system/test_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 58753e7

Please sign in to comment.