We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ce3dd5 commit b5f0541Copy full SHA for b5f0541
lightning-background-processor/src/lib.rs
@@ -2269,10 +2269,7 @@ mod tests {
2269
);
2270
2271
begin_open_channel!(nodes[0], nodes[1], channel_value);
2272
- assert_eq!(
2273
- first_event_recv.recv_timeout(Duration::from_secs(EVENT_DEADLINE)),
2274
- second_event_recv.recv_timeout(Duration::from_secs(EVENT_DEADLINE))
2275
- );
+ assert_eq!(first_event_recv.recv().unwrap(), second_event_recv.recv().unwrap());
2276
2277
if !std::thread::panicking() {
2278
bg_processor.stop().unwrap();
0 commit comments