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