Skip to content

Commit 8005780

Browse files
committed
Increase timeouts so test doesn't flake
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 573d2cf commit 8005780

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,15 +1180,16 @@ fn stackerdb_delayed_dkg() {
11801180
info!("------------------------- Wait for DKG -------------------------");
11811181
let key = signer_test.wait_for_dkg(timeout);
11821182
// Sleep a bit to make sure the transactions are broadcast.
1183-
std::thread::sleep(Duration::from_secs(1));
1183+
std::thread::sleep(Duration::from_secs(10));
11841184
// Mine a block and make sure the votes were mined
11851185
next_block_and_process_new_stacks_block(
11861186
&mut signer_test.running_nodes.btc_regtest_controller,
11871187
timeout.as_secs(),
11881188
&signer_test.running_nodes.coord_channel,
11891189
)
11901190
.unwrap();
1191-
1191+
// Sleep a bit to make sure the contract gets updated
1192+
std::thread::sleep(Duration::from_secs(5));
11921193
// Make sure DKG did get set
11931194
assert_eq!(
11941195
key,

0 commit comments

Comments
 (0)