-
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
Enable and fix Journalbeat integration tests #20140
Conversation
Pinging @elastic/integrations-services (Team:Services) |
💔 Build FailedExpand to view the summary
Build stats
Log outputExpand to view the last 100 lines of log output
|
jenkins run tests |
d7bd336
to
40274c4
Compare
jenkins run tests |
(cherry picked from commit 2025662)
(cherry picked from commit 2025662)
💔 Tests FailedExpand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
--------------------- >> end captured stdout << ---------------------- Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
for snippet in required_log_snippets: | ||
self.wait_until(lambda: self.log_contains(snippet), | ||
name="Line in '{}' Journalbeat log".format(snippet)) | ||
self.wait_until(lambda: self.output_has(lines=23)) |
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.
I noticed this assertion is different to any of the former ones, and besides that, the changes in other tests are asserting that the output contains "journalbeat is running"
, is this on purpose?
for snippet in required_log_snippets: | ||
self.wait_until(lambda: self.log_contains(snippet), | ||
name="Line in '{}' Journalbeat log".format(snippet)) | ||
self.wait_until(lambda: self.output_has(lines=9)) |
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.
Same here.
Once more thing: how likely is this output to not contain 9
lines?
for snippet in required_log_snippets: | ||
self.wait_until(lambda: self.log_contains(snippet), | ||
name="Line in '{}' Journalbeat log".format(snippet)) | ||
self.wait_until(lambda: self.output_has(lines=6)) |
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.
Same here
…rkers (elastic#20569) (elastic#20582) * [CI] more parallel stages and less provisioned workers (elastic#20569) * Enable and fix Journalbeat integration tests (elastic#20140) * [CI] Fix missing when for Packetbeat (elastic#20626)
No description provided.