From ee3adfef67c3bba741eca724bd231209047b4a84 Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Mon, 21 Jun 2021 15:58:19 +0200 Subject: [PATCH] Skip test_rotating_file in osx and windows (#26379) --- filebeat/tests/system/test_registrar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/filebeat/tests/system/test_registrar.py b/filebeat/tests/system/test_registrar.py index 6a109070b80..be78cd044af 100644 --- a/filebeat/tests/system/test_registrar.py +++ b/filebeat/tests/system/test_registrar.py @@ -275,6 +275,8 @@ def test_registry_file_update_permissions(self): self.assertEqual(self.file_permissions(os.path.join(registry_path, "log.json")), "0o640") + @unittest.skipIf(platform.system() == 'Darwin' or os.name == 'nt', + 'Flaky test: https://github.com/elastic/beats/issues/26378') def test_rotating_file(self): """ Checks that the registry is properly updated after a file is rotated