Skip to content

Commit 5be291e

Browse files
committed
Rduce wait on interim blocks
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 98aed37 commit 5be291e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testnet/stacks-node/src/tests/nakamoto_integrations.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3156,7 +3156,7 @@ fn forked_tenure_is_ignored() {
31563156

31573157
let signers = TestSigners::default();
31583158
let (mut naka_conf, _miner_account) = naka_neon_integration_conf(None);
3159-
naka_conf.miner.wait_on_interim_blocks = Duration::from_secs(1000);
3159+
naka_conf.miner.wait_on_interim_blocks = Duration::from_secs(10);
31603160
let sender_sk = Secp256k1PrivateKey::new();
31613161
// setup sender + recipient for a test stx transfer
31623162
let sender_addr = tests::to_addr(&sender_sk);
@@ -3325,11 +3325,11 @@ fn forked_tenure_is_ignored() {
33253325
let sender_nonce = 0;
33263326
let transfer_tx =
33273327
make_stacks_transfer(&sender_sk, sender_nonce, send_fee, &recipient, send_amt);
3328-
submit_tx(&http_origin, &transfer_tx);
3329-
info!("Tenure C is mining a second block");
3328+
let tx = submit_tx(&http_origin, &transfer_tx);
3329+
info!("Submitted tx {tx} in Tenure C to mine a second block");
33303330
while mined_blocks.load(Ordering::SeqCst) <= blocks_before {
33313331
assert!(
3332-
start_time.elapsed() < Duration::from_secs(45),
3332+
start_time.elapsed() < Duration::from_secs(30),
33333333
"FAIL: Test timed out while waiting for block production",
33343334
);
33353335
thread::sleep(Duration::from_secs(1));

0 commit comments

Comments
 (0)