]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix permissive test
authorElias Rohrer <dev@tnull.de>
Fri, 19 Jul 2024 08:33:05 +0000 (10:33 +0200)
committerElias Rohrer <dev@tnull.de>
Wed, 21 Aug 2024 19:55:49 +0000 (21:55 +0200)
lightning-background-processor/src/lib.rs

index e39ae5a7c7ead3186a4a4bbb9131db22d449e1e4..4a2067de940aa86113068a6661f6fd7a35a331c5 100644 (file)
@@ -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() {