From a233780c7edad32a1f036b8893794fe2a181c75e Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 21 Sep 2021 20:31:16 +0000 Subject: [PATCH] Fix windows-only test failure added in #997 This is a trivial bugfix to add a missing test updated required in PR 997. --- lightning-persister/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lightning-persister/src/lib.rs b/lightning-persister/src/lib.rs index e0a8fbb9a..6cfa540cf 100644 --- a/lightning-persister/src/lib.rs +++ b/lightning-persister/src/lib.rs @@ -330,6 +330,7 @@ mod tests { let nodes = create_network(2, &node_cfgs, &node_chanmgrs); let chan = create_announced_chan_between_nodes(&nodes, 0, 1, InitFeatures::known(), InitFeatures::known()); nodes[1].node.force_close_channel(&chan.2).unwrap(); + check_closed_event!(nodes[1], 1, ClosureReason::HolderForceClosed); let mut added_monitors = nodes[1].chain_monitor.added_monitors.lock().unwrap(); // Create the persister with an invalid directory name and test that the -- 2.39.5