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: always sleep for 5 more seconds after resource is up #863

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

Freax13
Copy link
Contributor

@Freax13 Freax13 commented Sep 9, 2024

We've seen a lot of spurious errors when connecting to various resources. If we wait just a little longer the vast majority of these errors go away. This is not clean, but it works well.

I ran all e2e tests three times with these changes and only saw two failures: One of them was a timeout in the certificate rotation and ... restart test (probably because of the artificial delay introduced here), so I raised the timeout for that test. The other test failure was related to a DNS error while pulling the images. I didn't do anything to prevent that from happening again because I haven't seen this error occur much. All other test jobs succeeded on the first try.

The downside of this change is that all e2e tests now run a bit longer, but I'd say we'd likely want to prioritize CI stability over speed.

@Freax13 Freax13 added the no changelog PRs not listed in the release notes label Sep 9, 2024
We've seen a lot of spurious errors when connecting to various
resources. It turns out if we wait just a little longer the vast
majority of these errors go away. This is not clean, but it works well.
@Freax13 Freax13 changed the title WIP e2e: always sleep for 5 more seconds after resource is up Sep 9, 2024
@Freax13 Freax13 marked this pull request as ready for review September 9, 2024 10:43
@Freax13 Freax13 merged commit 36e5d23 into main Sep 9, 2024
16 checks passed
@Freax13 Freax13 deleted the tom/ci-stability branch September 9, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants