Skip to content

Commit

Permalink
Increased timeout to give some time to compile the WASM binary
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed May 15, 2024
1 parent bf276fa commit 48cd2d7
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,11 @@ async fn latest_state_transition_function_is_forward_compatible_with_genesis_bin
.await
.unwrap();
for i in 0..BLOCKS_TO_PRODUCE {
let block = tokio::time::timeout(Duration::from_secs(5), imported_blocks.next())
.await
.expect(format!("Timed out waiting for block import {i}").as_str())
.expect(format!("Failed to import block {i}").as_str());
let block =
tokio::time::timeout(Duration::from_secs(120), imported_blocks.next())
.await
.expect(format!("Timed out waiting for block import {i}").as_str())
.expect(format!("Failed to import block {i}").as_str());
assert_eq!(
block
.sealed_block
Expand Down

0 comments on commit 48cd2d7

Please sign in to comment.