From ffd3c9bcc60e13a8c39cc58392964acc41e3d962 Mon Sep 17 00:00:00 2001 From: Steffen Siering Date: Mon, 30 Nov 2020 19:27:49 +0100 Subject: [PATCH] Cherry-pick #22797 to 7.x: Skip Filebeat test_shutdown on windows 7 (#22798) (cherry picked from commit c408b5e08e39bd7f98dd5a587b7ffc755ad3a132) --- filebeat/tests/system/test_shutdown.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filebeat/tests/system/test_shutdown.py b/filebeat/tests/system/test_shutdown.py index eb4084c5205..8f18337435f 100644 --- a/filebeat/tests/system/test_shutdown.py +++ b/filebeat/tests/system/test_shutdown.py @@ -1,5 +1,6 @@ import gzip import os +import platform import time import unittest from filebeat import BaseTest @@ -11,6 +12,8 @@ class Test(BaseTest): + @unittest.skipIf(platform.platform().startswith("Windows-7"), + "Flaky test: https://github.com/elastic/beats/issues/22795") def test_shutdown(self): """ Test starting and stopping Filebeat under load.