-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip clean_removed test #9207
Skip clean_removed test #9207
Conversation
@@ -851,6 +851,9 @@ def test_clean_removed(self): | |||
""" | |||
Checks that files which were removed, the state is removed | |||
""" | |||
|
|||
raise SkipTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment mentioning the reason why the test is skipped? or with a link to the issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, done.
62d7c89
to
6e0d544
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of raising SkipTest, please use the decorator and add link to #7690
import unittest
@unittest.skip("temporarily disabled")
6e0d544
to
26101de
Compare
@ph Can do, but will it make any difference? |
26101de
to
95c8c72
Compare
@ph Changed. |
it is just cleaner IMHO :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@ruflin I have added needs_backport label, I think we want to disable that in all the current branches. |
See elastic#7690 (cherry picked from commit be187b9)
backported to 6.x. Would ignore it for now in 6.5. |
@@ -847,10 +848,12 @@ def test_clean_inactive(self): | |||
else: | |||
assert data[0]["offset"] == 2 | |||
|
|||
@unittest.skip("Skipped as flaky: https://github.com/elastic/beats/issues/7690") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
def test_clean_removed(self): | ||
""" | ||
Checks that files which were removed, the state is removed | ||
""" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit. Unneeded space added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit ignored as already merged :-)
See #7690