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 a flaky e2e test #3183

Merged
merged 10 commits into from
Dec 30, 2024
Merged

Fix a flaky e2e test #3183

merged 10 commits into from
Dec 30, 2024

Conversation

squadgazzz
Copy link
Contributor

@squadgazzz squadgazzz commented Dec 25, 2024

Fixes the local_node_replace_order e2e test. Currently, the whole protocol stack is getting started in the beginning. After creating a first order and before sending a replacement one, a new block is minted, which starts the auction preparation mechanism. Sometimes, the auction gets prepared before the replacement order is placed, making the test fail. This PR removes this redundant block mining request.

A test run of the change: https://github.com/cowprotocol/services/actions/runs/12502462800?pr=3183 (failed due to the GH action execution timeout; all the tests passed).

@squadgazzz squadgazzz changed the title Fix driver's flaky tests Fix a flaky e2e test Dec 26, 2024
@squadgazzz squadgazzz marked this pull request as ready for review December 26, 2024 11:04
@squadgazzz squadgazzz requested a review from a team as a code owner December 26, 2024 11:04
@m-lord-renkse
Copy link
Contributor

Please, could you run run-flaky-test for ~1 hour to fully check that it is not flaky anymore? 🙏

@squadgazzz
Copy link
Contributor Author

Please, could you run run-flaky-test for ~1 hour to fully check that it is not flaky anymore? 🙏

Why didn't you like the one from the PR description?

@m-lord-renkse
Copy link
Contributor

Please, could you run run-flaky-test for ~1 hour to fully check that it is not flaky anymore? 🙏

Why didn't you like the one from the PR description?

Oh my bad, the one from the description seems failing, but it is because the job was finished abruptly.

@squadgazzz squadgazzz merged commit 292d42e into main Dec 30, 2024
11 checks passed
@squadgazzz squadgazzz deleted the fix-flaky-tests branch December 30, 2024 12:36
@github-actions github-actions bot locked and limited conversation to collaborators Dec 30, 2024
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