Skip to content

Commit

Permalink
Fix flaky forked nodes tests (#3029)
Browse files Browse the repository at this point in the history
# Description
Recently we changed default values for the native price cache which led
to some tests failing.
The problem seems to be that we can no longer reliably fetch native
prices for some tokens.

# Changes
With #2987 we now have an
easy way to make sure that all the native prices that can be there will
be there. So I just enabled the feature and at least one of the
problematic tests passed right away.
Will check CI if other tests are still problematic.
Edit: Seems to fix the forked nodes tests but some driver tests are
still
[flaky](https://github.com/cowprotocol/services/actions/runs/11121979135/job/30902264434?pr=3029)

## How to test
This is the test
  • Loading branch information
MartinquaXD authored Oct 1, 2024
1 parent d8e4f72 commit af9d499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/e2e/src/setup/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ impl<'a> Services<'a> {
let args = [
"autopilot".to_string(),
"--auction-update-interval=1s".to_string(),
"--run-loop-native-price-timeout=500ms".to_string(),
format!("--ethflow-contract={:?}", self.contracts.ethflow.address()),
"--skip-event-sync=true".to_string(),
format!("--solve-deadline={solve_deadline:?}"),
Expand Down

0 comments on commit af9d499

Please sign in to comment.