Skip to content

Commit aad24ac

Browse files
test: add int tests for failed & abandoned open
Add integration tests to verify channel open reset and pruning handlers. Tests cover: - channel_open_failed resetting state to allow retry. - channel_open_failed error on invalid state. - channel_open_abandoned pruning all open state. - error handling for nonexistent channels.
1 parent 000c0a3 commit aad24ac

File tree

2 files changed

+393
-29
lines changed

2 files changed

+393
-29
lines changed

lightning-liquidity/tests/common/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type LockingWrapper<T> = lightning::routing::scoring::MultiThreadedLockableScore
6767
#[cfg(not(c_bindings))]
6868
type LockingWrapper<T> = std::sync::Mutex<T>;
6969

70-
type ChannelManager = channelmanager::ChannelManager<
70+
pub type ChannelManager = channelmanager::ChannelManager<
7171
Arc<ChainMonitor>,
7272
Arc<test_utils::TestBroadcaster>,
7373
Arc<KeysManager>,

0 commit comments

Comments
 (0)