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

e2e-framework: fix panic and bump event limit on demo app test #284

Merged
merged 2 commits into from
Aug 3, 2022

Conversation

willfindlay
Copy link
Contributor

Some bug fixes for e2e framework on GKE clusters. See individual commits.

Apparently it's not idiomatic or correct to close a channel that has multiple writers [0].
Anyway this was causing an occaisional panic when testing on a cluster with more than one
node because our goroutines were racing with each other and attempting to send after the
channel was already closed. So let's just remove the close here.

[0]: https://go101.org/article/channel-closing.html

Signed-off-by: William Findlay <[email protected]>
When I was testing locally on my own GKE cluster I noticed that the test would
occaisionally hit the checker time limit before the last elastic pod had a chance to spin
up. Let's bump it to a more lenient 5 minutes and 5000 events to handle slower clusters
a little better.

Signed-off-by: William Findlay <[email protected]>
@willfindlay willfindlay requested a review from kkourt August 3, 2022 14:46
@willfindlay willfindlay requested a review from a team as a code owner August 3, 2022 14:46
Copy link
Member

@tpapagian tpapagian left a comment

Choose a reason for hiding this comment

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

LGTM!

@willfindlay willfindlay merged commit 887b05b into main Aug 3, 2022
@willfindlay willfindlay deleted the pr/willfindlay/fix-e2e-framework-panic branch August 3, 2022 15:17
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.

2 participants