Skip to content

Reenable removed tests in test_registrar#15790

Merged
urso merged 1 commit intoelastic:masterfrom
urso:reenable-removed-tests
Jan 28, 2020
Merged

Reenable removed tests in test_registrar#15790
urso merged 1 commit intoelastic:masterfrom
urso:reenable-removed-tests

Conversation

@urso
Copy link
Copy Markdown

@urso urso commented Jan 23, 2020

What does this PR do?

Unskip flaky filebeat system tests that rely on file removal detection in test_registrar.py

Why is it important?

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.

Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] I have made corresponding change to the default configuration files
- [ ] I have added tests that prove my fix is effective or that my feature works

Author's Checklist

Check Filebeat tests did not fail on unskipped tests by rerunning tests a few times on jenkins (only windows tests are affected)

  • run 1
  • run 2
  • run 3
  • run 4
  • run 5
  • run 6
  • run 7
  • run 8

Related issues

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.
@urso urso added Filebeat Filebeat in progress Pull request is currently in progress. Team:Beats labels Jan 23, 2020
@urso urso requested a review from ycombinator January 23, 2020 20:22
Copy link
Copy Markdown
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I guess we should run CI on this a few times to make sure it's not flaky anymore?

@urso
Copy link
Copy Markdown
Author

urso commented Jan 24, 2020

Jenkins, test this.

3 similar comments
@urso
Copy link
Copy Markdown
Author

urso commented Jan 24, 2020

Jenkins, test this.

@urso
Copy link
Copy Markdown
Author

urso commented Jan 27, 2020

Jenkins, test this.

@urso
Copy link
Copy Markdown
Author

urso commented Jan 27, 2020

Jenkins, test this.

@ycombinator
Copy link
Copy Markdown
Contributor

jenkins, test this

@ycombinator
Copy link
Copy Markdown
Contributor

jenkins, test this

@urso
Copy link
Copy Markdown
Author

urso commented Jan 28, 2020

Jenkins, test this.

@urso
Copy link
Copy Markdown
Author

urso commented Jan 28, 2020

Merging. The unskipped tests did not fail in any CI run (total 8 runs).

@urso urso merged commit 150fbb8 into elastic:master Jan 28, 2020
@urso urso deleted the reenable-removed-tests branch January 28, 2020 22:54
@urso urso added review and removed in progress Pull request is currently in progress. labels Jan 28, 2020
@andresrc andresrc added the Team:Integrations Label for the Integrations team label Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Filebeat Filebeat review Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Flaky Test] Filebeat test_registrar.Test.test_clean_removed_with_clean_inactive [Filebeat] Test test_registrar.test_clean_removed fails

3 participants