-
Notifications
You must be signed in to change notification settings - Fork 65
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
Replaces sleep based waiting for log entry lookups #167
Conversation
@booklearner you may be interested in this (b/c of #90) |
I wanted to also address #156 here but I'm still unable to make it work consistently :( |
b18696b
to
484cde3
Compare
I was curious to see where |
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.
Nice! LGTM.
a80d25f
to
fddd477
Compare
I've improved the regexs to look for to be a bit less broad in fddd477 |
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
Replaces time.sleep in the `watchtower-plugin` tests to wait for certain things to happen on the backend by wait_for_logs, which should be less error prone Also does some reformating and removes unnecessary imports
fddd477
to
5177446
Compare
`TeosD` outputDir was being set to the same directory use by the test suite. That cause it to be logging in the same log file, potentially colluding for read/write operations. Setting the outputDir to it's own location fixed the issue.
I ended up managing to fix #156! 🎉 |
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!
Replaces
time.sleep
in thewatchtower-plugin
tests to wait for certain things to happen on the backend bywait_for_logs
, which should be less error-prone.Also does some reformating and removes unnecessary imports.
Fixes #163 #156 #90