From 5907738506c784ae3ffb069f082b50f591665d4c Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Wed, 24 Jun 2026 10:58:25 +0200 Subject: [PATCH] Fix 0.6.2 compatibility test shutdown Stop and drop the old compatibility node from a blocking region. This avoids a Tokio runtime-drop panic in the async test. Co-Authored-By: HAL 9000 --- tests/integration_tests_rust.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/integration_tests_rust.rs b/tests/integration_tests_rust.rs index 6e68db878..3393c2cd0 100644 --- a/tests/integration_tests_rust.rs +++ b/tests/integration_tests_rust.rs @@ -2580,7 +2580,11 @@ async fn build_0_6_2_node( assert!(balance > 0); let node_id = node_old.node_id(); - node_old.stop().unwrap(); + // Workaround necessary as v0.6.2's runtime wasn't dropsafe in a tokio context. + tokio::task::block_in_place(move || { + node_old.stop().unwrap(); + drop(node_old); + }); (balance, node_id) }