diff --git a/filebeat/tests/system/test_shutdown.py b/filebeat/tests/system/test_shutdown.py index d584213cb6b3..8e7818377309 100644 --- a/filebeat/tests/system/test_shutdown.py +++ b/filebeat/tests/system/test_shutdown.py @@ -30,7 +30,7 @@ def test_shutdown(self): # Flaky on MacOS, see https://github.com/elastic/beats/issues/39613#issuecomment-2158812325 # we need to wait a bit longer for filebeat to start - if platform.system() == "Darwin" : + if platform.system() == "Darwin": time.sleep(10) else: time.sleep(.5)