Skip to content

Commit b90f76d

Browse files
committed
fix probing test polling
1 parent a727bcf commit b90f76d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/probing_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,12 +496,12 @@ async fn exhausted_probe_budget_blocks_new_probes() {
496496
node_b.connect(node_a.node_id(), node_a_addr, false).unwrap();
497497
node_b.connect(node_c.node_id(), node_c_addr, false).unwrap();
498498

499-
let cleared = tokio::time::timeout(Duration::from_secs(120), async {
499+
let cleared = tokio::time::timeout(Duration::from_secs(150), async {
500500
loop {
501501
if node_a.prober().map_or(1, |p| p.locked_msat()) == 0 {
502502
break;
503503
}
504-
tokio::time::sleep(Duration::from_millis(1)).await;
504+
tokio::time::sleep(Duration::from_millis(100)).await;
505505
}
506506
})
507507
.await
@@ -515,7 +515,7 @@ async fn exhausted_probe_budget_blocks_new_probes() {
515515
if node_a.prober().map_or(0, |p| p.locked_msat()) > 0 {
516516
break;
517517
}
518-
tokio::time::sleep(Duration::from_millis(1)).await;
518+
tokio::time::sleep(Duration::from_millis(100)).await;
519519
}
520520
})
521521
.await

0 commit comments

Comments
 (0)