Skip to content

Commit f99786b

Browse files
committed
Increase probing tests timeout
1 parent a70953d commit f99786b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/probing_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ async fn exhausted_probe_budget_blocks_new_probes() {
435435
node_b.connect(node_a.node_id(), node_a_addr, false).unwrap();
436436
node_b.connect(node_c.node_id(), node_c_addr, false).unwrap();
437437

438-
let cleared = tokio::time::timeout(Duration::from_secs(30), async {
438+
let cleared = tokio::time::timeout(Duration::from_secs(60), async {
439439
loop {
440440
if node_a.prober().map_or(1, |p| p.locked_msat()) == 0 {
441441
break;
@@ -448,7 +448,7 @@ async fn exhausted_probe_budget_blocks_new_probes() {
448448
assert!(cleared, "locked_msat never cleared after B came back online");
449449

450450
// Once the budget is freed, a new probe should be dispatched within a few ticks.
451-
let new_probe = tokio::time::timeout(Duration::from_secs(30), async {
451+
let new_probe = tokio::time::timeout(Duration::from_secs(60), async {
452452
loop {
453453
if node_a.prober().map_or(0, |p| p.locked_msat()) > 0 {
454454
break;

0 commit comments

Comments
 (0)