From 22051d0a948d2b251505e73aa1c016a5138d7e3c Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Sat, 30 Jan 2021 14:29:47 +0100 Subject: [PATCH] Skip Filebeat test_shutdown on windows 7 (#22797) (#23754) (cherry picked from commit 957427125b947ea29ca3339b1919d8d58258dd19) Co-authored-by: Steffen Siering --- 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.