Skip to content

Commit

Permalink
Reenable removed tests in test_registrar (#15790)
Browse files Browse the repository at this point in the history
Improvements for detecting file removal have been introduced a while
ago. Filebeat doesn't wait until EOF when trying to detect removal. On
windows we also introduced some extra API call to detect file-deletion
flags being set.
  • Loading branch information
Steffen Siering authored Jan 28, 2020
1 parent 308161c commit 150fbb8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions filebeat/tests/system/test_registrar.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,6 @@ def test_clean_inactive(self):
# Make sure the last file in the registry is the correct one and has the correct offset
assert data[0]["offset"] == self.input_logs.size(file3)

@unittest.skipIf(os.name == 'nt', 'flaky test https://github.com/elastic/beats/issues/7690')
def test_clean_removed(self):
"""
Checks that files which were removed, the state is removed
Expand Down Expand Up @@ -870,7 +869,6 @@ def test_clean_removed(self):
# Make sure the last file in the registry is the correct one and has the correct offset
assert data[0]["offset"] == self.input_logs.size(file2)

@unittest.skip('flaky test https://github.com/elastic/beats/issues/10606')
def test_clean_removed_with_clean_inactive(self):
"""
Checks that files which were removed, the state is removed
Expand Down

0 comments on commit 150fbb8

Please sign in to comment.