Skip to content
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

tests: wait for new managers to become available #83

Conversation

phoracek
Copy link
Member

In the current code, setRange and deleteLeaderManager functions
are not waiting for the old pods to disappear and new ones to become
available. Due to that, tests using this functions don't have any
webhook available or worse, they are being served by the old one.

This issue was not exposed due to Eventually we have around all the
Create calls.

@phoracek
Copy link
Member Author

phoracek commented Jan 10, 2020

@phoracek phoracek force-pushed the wait_for_new_managers_to_take_over branch from 24b8dc9 to 48f8465 Compare January 10, 2020 12:09
In the current code, setRange and deleteLeaderManager functions
are not waiting for the old pods to disappear and new ones to become
available. Due to that, tests using this functions don't have any
webhook available or worse, they are being served by the old one.

This issue was not exposed due to Eventually we have around all the
Create calls.

Signed-off-by: Petr Horacek <[email protected]>
@phoracek phoracek force-pushed the wait_for_new_managers_to_take_over branch from 48f8465 to f9da8fc Compare January 10, 2020 12:13
@phoracek phoracek mentioned this pull request Jan 10, 2020
@phoracek phoracek closed this May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant