Add tests to check the introduced behaviour
authorshaavan <shaavan.github@gmail.com>
Wed, 31 Jan 2024 12:14:58 +0000 (17:44 +0530)
committershaavan <shaavan.github@gmail.com>
Wed, 31 Jan 2024 12:30:03 +0000 (18:00 +0530)
commita6a6b481020cf3c3cc9591b5c0306fbbc7270fec
tree775b47131f0cb584967ec264343c45a2fb8ec963
parentddf75afd167ac4adb5824180b4125d87563fa31a
Add tests to check the introduced behaviour

- The first test make sure that the OutboundV1Channel is not
immediately removed when peers disconnect, but is removed after N timer
ticks.
- The second test makes sure that the SendOpenChannel is rebroadcasted
for the OutboundV1Channel if peer reconnects within time.
lightning/src/ln/functional_tests.rs