From 0ac34dc9b60bc4ef6b1383ac4e78d49d06702a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20P=C3=A9rez-Aradros=20Herce?= Date: Wed, 28 Nov 2018 12:09:34 +0100 Subject: [PATCH] Fix tests --- x-pack/libbeat/tests/system/test_management.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x-pack/libbeat/tests/system/test_management.py b/x-pack/libbeat/tests/system/test_management.py index da05f0021b0b..44af6beefdad 100644 --- a/x-pack/libbeat/tests/system/test_management.py +++ b/x-pack/libbeat/tests/system/test_management.py @@ -96,7 +96,7 @@ def test_fetch_configs(self): proc = self.start_beat(extra_args=[ "-E", "management.period=1s", # do not blacklist file output - "-E", "management.blacklist.output='.*'", + "-E", "management.blacklist.output='elasticsearch'", ]) # Wait for beat to apply new conf @@ -155,7 +155,10 @@ def test_configs_cache(self): output_file = os.path.join("output", "mockbeat_managed") # Start beat - proc = self.start_beat() + proc = self.start_beat(extra_args=[ + # do not blacklist file output + "-E", "management.blacklist.output='elasticsearch'", + ]) self.wait_until(cond=lambda: self.output_has( 1, output_file=output_file)) proc.check_kill_and_wait() @@ -168,7 +171,7 @@ def test_configs_cache(self): "-E", "management.kibana.host=wronghost", "-E", "management.kibana.timeout=0.5s", # do not blacklist file output - "-E", "management.blacklist.output='.*'", + "-E", "management.blacklist.output='elasticsearch'", ]) self.wait_until(cond=lambda: self.output_has( 1, output_file=output_file))