mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-18 03:38:57 +08:00
fix: be more patient with microblock mining in this integration test
This commit is contained in:
@@ -2526,7 +2526,7 @@ fn size_overflow_unconfirmed_microblocks_integration_test() {
|
||||
}
|
||||
}
|
||||
|
||||
while wait_for_microblocks(µblocks_processed, 30) {
|
||||
while wait_for_microblocks(µblocks_processed, 120) {
|
||||
info!("Waiting for microblocks to no longer be processed");
|
||||
}
|
||||
|
||||
@@ -2541,12 +2541,14 @@ fn size_overflow_unconfirmed_microblocks_integration_test() {
|
||||
// this one will contain the sortition from above anchor block,
|
||||
// which *should* have also confirmed the microblock.
|
||||
|
||||
while wait_for_microblocks(µblocks_processed, 30) {
|
||||
while wait_for_microblocks(µblocks_processed, 120) {
|
||||
info!("Waiting for microblocks to no longer be processed");
|
||||
}
|
||||
|
||||
next_block_and_wait(&mut btc_regtest_controller, &blocks_processed);
|
||||
|
||||
sleep_ms(30_000);
|
||||
|
||||
let blocks = test_observer::get_blocks();
|
||||
assert_eq!(blocks.len(), 3);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user