Skip to content

Commit c44954d

Browse files
committed
chore: signer tests should wait for networking to come back up after 3.0 boundary
1 parent 2b3b0d0 commit c44954d

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ impl SignerTest<SpawnedSigner> {
264264
info!("Signers initialized");
265265

266266
self.run_until_epoch_3_boundary();
267+
std::thread::sleep(Duration::from_secs(1));
268+
wait_for(60, || Ok(get_chain_info_opt(&self.running_nodes.conf).is_some()))
269+
.expect("Timed out waiting for network to restart after 3.0 boundary reached");
267270

268271
// Wait until we see the first block of epoch 3.0.
269272
// Note, we don't use `nakamoto_blocks_mined` counter, because there

0 commit comments

Comments
 (0)