Skip to content

Commit 150bfce

Browse files
committed
Do not wait for an exact number of acceptance and rejections
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 2a4371f commit 150bfce

File tree

1 file changed

+2
-2
lines changed
  • testnet/stacks-node/src/tests/signer

1 file changed

+2
-2
lines changed

testnet/stacks-node/src/tests/signer/v0.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6102,7 +6102,7 @@ fn miner_recovers_when_broadcast_block_delay_across_tenures_occurs() {
61026102
}
61036103
})
61046104
.collect::<Vec<_>>();
6105-
Ok(signatures.len() == num_signers)
6105+
Ok(signatures.len() >= num_signers * 7 / 10)
61066106
})
61076107
.expect("Test timed out while waiting for signers signatures for first block proposal");
61086108
let block = block.unwrap();
@@ -6192,7 +6192,7 @@ fn miner_recovers_when_broadcast_block_delay_across_tenures_occurs() {
61926192
}
61936193
})
61946194
.collect::<Vec<_>>();
6195-
Ok(block_rejections.len() == num_signers)
6195+
Ok(block_rejections.len() >= num_signers * 7 / 10)
61966196
})
61976197
.expect("FAIL: Timed out waiting for block proposal rejections");
61986198

0 commit comments

Comments
 (0)