diff --git a/testnet/stacks-node/src/tests/signer/mod.rs b/testnet/stacks-node/src/tests/signer/mod.rs index b7f39feba6..603525a323 100644 --- a/testnet/stacks-node/src/tests/signer/mod.rs +++ b/testnet/stacks-node/src/tests/signer/mod.rs @@ -744,7 +744,7 @@ impl + Send + 'static, T: SignerEventTrait + 'static> SignerTest>(); - Ok(block_rejections.len() == expected_signers.len()) + Ok(block_rejections.len() >= expected_signers.len()) }) } } diff --git a/testnet/stacks-node/src/tests/signer/v0.rs b/testnet/stacks-node/src/tests/signer/v0.rs index 4d55c4d0ce..50e942a81a 100644 --- a/testnet/stacks-node/src/tests/signer/v0.rs +++ b/testnet/stacks-node/src/tests/signer/v0.rs @@ -4080,6 +4080,7 @@ fn locally_accepted_blocks_overriden_by_global_rejection() { .lock() .unwrap() .replace(Vec::new()); + wait_for(short_timeout_secs, || { Ok(mined_blocks.load(Ordering::SeqCst) > blocks_before && signer_test