Skip to content

Commit 8b36b88

Browse files
committed
fix: need interim blocks in the nakamoto integration tests
1 parent f271794 commit 8b36b88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/bitcoin-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- tests::epoch_25::microblocks_disabled
8282
- tests::should_succeed_handling_malformed_and_valid_txs
8383
- tests::nakamoto_integrations::simple_neon_integration
84-
- tests::nakamoto_integrations::simple_neon_integration_with_flash_blocks_on_epoch_3
84+
- tests::nakamoto_integrations::flash_blocks_on_epoch_3
8585
- tests::nakamoto_integrations::mine_multiple_per_tenure_integration
8686
- tests::nakamoto_integrations::block_proposal_api_endpoint
8787
- tests::nakamoto_integrations::miner_writes_proposed_block_to_stackerdb

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,15 +1718,15 @@ fn simple_neon_integration() {
17181718
/// * 30 blocks are mined after 3.0 starts. This is enough to mine across 2 reward cycles
17191719
/// * A transaction submitted to the mempool in 3.0 will be mined in 3.0
17201720
/// * The final chain tip is a nakamoto block
1721-
fn simple_neon_integration_with_flash_blocks_on_epoch_3() {
1721+
fn flash_blocks_on_epoch_3() {
17221722
if env::var("BITCOIND_TEST") != Ok("1".into()) {
17231723
return;
17241724
}
17251725

17261726
let (mut naka_conf, _miner_account) = naka_neon_integration_conf(None);
17271727
let prom_bind = format!("{}:{}", "127.0.0.1", 6000);
17281728
naka_conf.node.prometheus_bind = Some(prom_bind.clone());
1729-
naka_conf.miner.wait_on_interim_blocks = Duration::from_secs(1000);
1729+
naka_conf.miner.wait_on_interim_blocks = Duration::from_secs(1);
17301730
let sender_sk = Secp256k1PrivateKey::new();
17311731
// setup sender + recipient for a test stx transfer
17321732
let sender_addr = tests::to_addr(&sender_sk);

0 commit comments

Comments
 (0)