Skip to content

Commit

Permalink
Skip test_rotating_file in osx and windows (elastic#26379)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored Jun 21, 2021
1 parent 6347d45 commit ee3adfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions filebeat/tests/system/test_registrar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee3adfe

Please sign in to comment.