Skip to content

Commit b5f0541

Browse files
committed
Fix permissive test
1 parent 9ce3dd5 commit b5f0541

File tree

1 file changed

+1
-4
lines changed
  • lightning-background-processor/src

1 file changed

+1
-4
lines changed

lightning-background-processor/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,10 +2269,7 @@ mod tests {
22692269
);
22702270

22712271
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-
);
2272+
assert_eq!(first_event_recv.recv().unwrap(), second_event_recv.recv().unwrap());
22762273

22772274
if !std::thread::panicking() {
22782275
bg_processor.stop().unwrap();

0 commit comments

Comments
 (0)