Skip to content

Commit 8dd06bf

Browse files
authored
Merge pull request #947 from tnull/2026-06-fix-062-compat-shutdown
Fix 0.6.2 compatibility test shutdown
2 parents 4aac5e8 + 5907738 commit 8dd06bf

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/integration_tests_rust.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2675,7 +2675,11 @@ async fn build_0_6_2_node(
26752675
assert!(balance > 0);
26762676
let node_id = node_old.node_id();
26772677

2678-
node_old.stop().unwrap();
2678+
// Workaround necessary as v0.6.2's runtime wasn't dropsafe in a tokio context.
2679+
tokio::task::block_in_place(move || {
2680+
node_old.stop().unwrap();
2681+
drop(node_old);
2682+
});
26792683

26802684
(balance, node_id)
26812685
}

0 commit comments

Comments
 (0)