Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Wait for platform presence in fluxsvc test #732

Merged
merged 1 commit into from
Sep 5, 2017

Conversation

squaremo
Copy link
Member

@squaremo squaremo commented Sep 5, 2017

One source of flakes appears to be the race between the platform being registered and seeing if the platform is registered (both TestFluxsvc_Register and TestFluxsvc_Ping).

This change forces those tests to block until the platform has demonstrably subscribed, or fail if it does not happen within five seconds.

I've run this a few times in circleci, and although you never know with flakes, it appears to improve the situation. Still a bit of a shot in dim light.

One source of flakes appears to be the race between the platform being
registered and seeing if the platform is registered (both
`TestFluxsvc_Register` and `TestFluxsvc_Ping`).

This change forces those tests to block until the platform has
demonstrably subscribed, or fail if it does not happen within five
seconds.
@squaremo
Copy link
Member Author

squaremo commented Sep 5, 2017

If this flakes, I swear .......

Copy link
Contributor

@tamarakaufler tamarakaufler left a comment

Choose a reason for hiding this comment

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

r+a

@squaremo squaremo merged commit afcea4c into master Sep 5, 2017
@squaremo squaremo deleted the wait-for-presence-in-fluxsvc-test branch September 5, 2017 15:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants