-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix integration test race conditions #943
Fix integration test race conditions #943
Conversation
3f2b800
to
24b4ce6
Compare
/packit test |
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
@mwperina Thanks for the approval! |
/packit test |
24b4ce6
to
50407af
Compare
@mwperina PTAL |
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
Relates to: eclipse-bluechi#874 The proxy service propagates failure integration test has been flaky due to a race condition where either the job of the requesting service gets canceled or the requesting service maps the inactive state due to the BindsTo=. In order to account for this race condition, lets check if either case occurred. Signed-off-by: Michael Engel <[email protected]>
Signed-off-by: Michael Engel <[email protected]>
a11d29e
to
36f1ac8
Compare
/packit test |
The packit |
This PR addresses two issues:
Fix proxy service propagate failure test
Relates to: #874
The proxy service propagates failure integration test has been flaky due to a race condition where either the job of the requesting service gets canceled or the requesting service maps the inactive state due to the BindsTo=. In order to account for this race condition, lets check if either case occurred.
Fix race condition in status watch testIn the integration test for the bluechictl status watch command two parallel processes are run - one producing output, the second checking it. To ensure that the processing part can collect all the output from process one, a short delay is added.