From 1107dc2fec7be4f62fc11abee420e5c4eac5d6c1 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Fri, 19 Jul 2024 10:33:05 +0200 Subject: [PATCH] Fix permissive test --- lightning-background-processor/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightning-background-processor/src/lib.rs b/lightning-background-processor/src/lib.rs index e39ae5a7c..4a2067de9 100644 --- a/lightning-background-processor/src/lib.rs +++ b/lightning-background-processor/src/lib.rs @@ -2318,8 +2318,8 @@ mod tests { begin_open_channel!(nodes[0], nodes[1], channel_value); assert_eq!( - first_event_recv.recv_timeout(Duration::from_secs(EVENT_DEADLINE)), - second_event_recv.recv_timeout(Duration::from_secs(EVENT_DEADLINE)) + first_event_recv.recv_timeout(Duration::from_secs(EVENT_DEADLINE)).unwrap(), + second_event_recv.recv_timeout(Duration::from_secs(EVENT_DEADLINE)).unwrap() ); if !std::thread::panicking() { -- 2.39.5