Skip to content

Commit

Permalink
Merge pull request #4594 from eval-exec/exec/fix-ci
Browse files Browse the repository at this point in the history
Integration Test: wait find unverified blocks finish before insert invalid block
  • Loading branch information
eval-exec authored Aug 16, 2024
2 parents 3c9409e + 4934192 commit 925e736
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/src/specs/sync/block_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ impl Spec for BlockSyncNonAncestorBestBlocks {
crate::setup!(num_nodes: 2);

fn run(&self, nodes: &mut Vec<Node>) {
nodes
.iter()
.for_each(|node| node.wait_find_unverified_blocks_finished());

let node0 = &nodes[0];
let node1 = &nodes[1];
out_ibd_mode(nodes);
Expand Down

0 comments on commit 925e736

Please sign in to comment.