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(integration_tests): remove flake from produce_block__l1_committed_block_affects_gas_price #2566

Merged
merged 3 commits into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/tests/gas_price.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,11 +615,11 @@ fn produce_block__l1_committed_block_affects_gas_price() {
tokio::time::sleep(Duration::from_millis(200)).await;
// Produce new block to update gas price
driver.client.produce_blocks(1, None).await.unwrap();
tokio::time::sleep(Duration::from_millis(20)).await;
tokio::time::sleep(Duration::from_millis(50)).await;
// Produce new block to _use_ the updated gas price
driver.client.produce_blocks(1, None).await.unwrap();
// Wait for that block to be picked up by the gas price service and communicated to GraphQL
tokio::time::sleep(Duration::from_millis(20)).await;
tokio::time::sleep(Duration::from_millis(50)).await;
let gas_price = driver.client.estimate_gas_price(0).await.unwrap().gas_price;
// cleanup
driver.kill().await;
Expand Down
Loading