From: Elias Rohrer Date: Fri, 19 Jul 2024 08:33:05 +0000 (+0200) Subject: Fix permissive test X-Git-Tag: v0.0.124-rc1~16^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=1107dc2fec7be4f62fc11abee420e5c4eac5d6c1;p=rust-lightning Fix permissive test --- 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() {