Skip to content

Commit 9829615

Browse files
authored
Merge branch 'develop' into test/refactor-block-waits
2 parents 38b62c7 + 26f18d1 commit 9829615

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/bitcoin-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ jobs:
8383
- tests::neon_integrations::start_stop_bitcoind
8484
- tests::should_succeed_handling_malformed_and_valid_txs
8585
- tests::nakamoto_integrations::simple_neon_integration
86-
- tests::nakamoto_integrations::flash_blocks_on_epoch_3
86+
# Disable this flaky test. We don't need continue testing Epoch 2 -> 3 transition
87+
# - tests::nakamoto_integrations::flash_blocks_on_epoch_3_FLAKY
8788
- tests::nakamoto_integrations::mine_multiple_per_tenure_integration
8889
- tests::nakamoto_integrations::block_proposal_api_endpoint
8990
- tests::nakamoto_integrations::miner_writes_proposed_block_to_stackerdb

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,6 +1901,7 @@ fn restarting_miner() {
19011901

19021902
#[test]
19031903
#[ignore]
1904+
#[allow(non_snake_case)]
19041905
/// This test spins up a nakamoto-neon node.
19051906
/// It starts in Epoch 2.0, mines with `neon_node` to Epoch 3.0,
19061907
/// having flash blocks when epoch updates and expects everything to work normally,
@@ -1910,7 +1911,12 @@ fn restarting_miner() {
19101911
/// * 30 blocks are mined after 3.0 starts. This is enough to mine across 2 reward cycles
19111912
/// * A transaction submitted to the mempool in 3.0 will be mined in 3.0
19121913
/// * The final chain tip is a nakamoto block
1913-
fn flash_blocks_on_epoch_3() {
1914+
///
1915+
/// NOTE: This test has been disabled because it's flaky, and we don't need to
1916+
/// test the Epoch 3 transition since it's already happened
1917+
///
1918+
/// See issue [#5765](https://github.com/stacks-network/stacks-core/issues/5765) for details
1919+
fn flash_blocks_on_epoch_3_FLAKY() {
19141920
if env::var("BITCOIND_TEST") != Ok("1".into()) {
19151921
return;
19161922
}

0 commit comments

Comments
 (0)