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

Fix e2e error flakiness #1803

Merged
merged 13 commits into from
Apr 11, 2024
Merged

Fix e2e error flakiness #1803

merged 13 commits into from
Apr 11, 2024

Conversation

Half-Shot
Copy link
Contributor

Fixes #1802

This tackles this from two different directions. First: we now clean up a test's dependencies in series rather than parallel, which makes it error a bit less. Second, we send a message after reconnection and await this message. The reason is that currently the test will finish execution before it's had a chance to send the "Okay, I'm reconnecting you" Matrix message, which means the homeserver may be stopped before it has a chance to do so, and the wheels all come off.

Due to matrix-org/complement#720, I've added a small retry loop for creating the homeserver deployment.

This hopefully should make our tests generally more reliable.

@Half-Shot Half-Shot requested a review from a team as a code owner April 11, 2024 13:59
@Half-Shot Half-Shot merged commit f740e5c into develop Apr 11, 2024
13 checks passed
@Half-Shot Half-Shot deleted the hs/fix-quit-e2e-unreliability branch April 11, 2024 15:24
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.

End 2 End tester flakes in CI
1 participant