Carla Kirk-Cohen
75d4a4c295
itest: add coverage for blinded error resolution from on-chain failure
...
This itest adds a test that we still propagate blinded errors back
properly after a restart with an on-chain resolution. The test also
updates our sendpayment timeout to longer so that there's time to
resolve the on chain claim.
2024-04-26 11:35:17 -04:00
Carla Kirk-Cohen
d57c6fab47
itest: add coverage for disabling blinded forwards
2024-04-25 09:47:17 -04:00
Carla Kirk-Cohen
428a33fbda
itest: add coverage for failure at the introduction node
2024-04-25 09:47:16 -04:00
Carla Kirk-Cohen
4535cf6c65
itest: add coverage for failure within a blinded route
2024-04-25 09:47:15 -04:00
Carla Kirk-Cohen
d13a73a93a
itest: add test coverage for failure at blinded receiver
2024-04-25 09:47:14 -04:00
ziggie
351e9a68dd
multi: Add tests to psbt and normal open channel flow.
...
Itests were added to the normal channel funding flow and the psbt
funding flow using unstable (unconfirmed sweeper inputs).
2024-04-24 13:58:20 +01:00
yyforyongyu
96883f307c
itest+sweep: add itest testSweepCommitOutputAndAnchor
...
This commit adds a test case to check the no deadline sweeping behavior.
The sweeper is updated to make sure it can handle the case for neutrino
backend.
2024-04-19 21:33:39 +08:00
yyforyongyu
6f55a7af05
itest: add new test to check BumpFee
and PendingSweeps
2024-04-19 21:33:38 +08:00
yyforyongyu
6933c5a86c
itest: remove old CPFP tests
...
The old commitment deadline is removed as it's no longer relevant.
2024-04-19 21:33:36 +08:00
yyforyongyu
a1a480a81c
itest+lntest: add itest testSweepHTLCs
to check HTLC sweepings
2024-04-19 21:33:36 +08:00
yyforyongyu
94e0e32c74
multi: add itest testSweepAnchorCPFPLocalForceClose
...
This commit adds an itest case that focuses on validating the CPFP logic
in anchor sweeping.
2024-04-19 21:33:36 +08:00
Carla Kirk-Cohen
a72aaa3d84
lntest: add setup for blinded route forwarding itest
...
Note: the itest is broken up into multiple commits to make it
more readable, they can be squashed post-review.
2024-04-03 09:19:39 -04:00
Andras Banki-Horvath
2fbffab421
itest: ensure that native SQL LND won't start if it has any KV invoices
2024-03-20 08:46:48 +01:00
Oliver Gugger
0bc3d29413
Merge pull request #8496 from aakselrod/locks-to-leases
...
multi: replace `LockOutpoint` with `LeaseOutput`
2024-03-18 03:34:56 -06:00
Alex Akselrod
07ba9d6015
itest: add open channel locked balance test
2024-03-13 09:50:15 -07:00
Slyghtning
e79b8b2986
itest: estimate route fee tests
2024-03-05 09:24:27 +01:00
Oliver Gugger
6dea39c23a
itest: add new test for FundPsbt with coin selection
2024-02-26 11:06:22 +01:00
Elle Mouton
d4424fbcfa
itest: refactor watchtower related tests
2024-02-20 14:44:39 +02:00
yyforyongyu
221e7ff898
itest: update testListPayments
to precisely test timestamp filters
2024-02-05 15:23:57 +08:00
Andras Banki-Horvath
187e61da23
itests: add itest for ListSweeps's start_height
2024-02-01 21:02:25 +01:00
Keagan McClelland
9e58ebd0fb
itest: test that we can close with in-flight htlcs
2024-01-23 12:25:06 -08:00
ziggie
ccac5c349c
multi: Add itest for a failed funding flow.
...
This adds an itest for a failed funding flow by our peer.
2024-01-22 16:45:38 +00:00
ziggie
1ca3732f25
itest: add an itest for the removal of a tx.
2023-12-12 14:18:16 +01:00
yyforyongyu
99354313d5
routerrpc+itest: make sure TrackPayments
is compatible
...
This commit adds an itest case to make sure when the flag
`routerrpc.usestatusinitiated` is not set, the new status is not sent.
2023-11-15 20:18:21 +08:00
Slyghtning
12f23d2352
itest: simple taproot channel status
2023-10-31 10:10:43 -07:00
Carla Kirk-Cohen
eb31ff553b
lntest/itest: add coverage for querying routes to blinded paths
2023-10-06 16:38:33 -07:00
yyforyongyu
62d240bba1
itest: add testSendDirectPayment
...
Adds a new test to check direct payments between two nodes. The fee rate
is tuned to 1 sat/vb to catch edge cases.
2023-09-28 19:42:11 +08:00
Oliver Gugger
590dc0c3b3
itest: unify PSBT channel funding tests, add taproot
...
With this commit we unify three existing PSBT channel funding
integration tests into a single one with the goal of testing all three
cases with simple taproot channels as well.
2023-08-29 10:57:38 +02:00
yyforyongyu
0dd2aa0aef
multi: add itest to check race between channel_ready and update_add_htlc
...
This commit adds a new itest case to check the race condition found in
issue #7401 . In order to control the funding manager's state, a new dev
config for the funding manager is introduced to specify a duration we
should hold before processing remote node's channel_ready message.
A new development config, `DevConfig` is introduced in `lncfg` and will
only have effect if built with flag `integration`. This can also be
extended for future integration tests if more dev-only flags are needed.
2023-08-09 01:29:19 +08:00
Slyghtning
396cffcd70
itest: anchor reserve test for SendOutputs
2023-07-24 13:07:01 +02:00
Maxwell Sayles
f7bdbb9e73
funding: integration test to verify the value of FundingExpiryBlock on
...
pending channels that are waiting for funding confirmation.
2023-06-12 10:04:04 -07:00
yyforyongyu
3f2675f10d
itest: remove potential parallel usage of the watchtower default port
2023-05-09 21:41:53 +08:00
yyforyongyu
cdc6f63f17
itest: reorder test cases to even out blocks per tranche
2023-05-09 21:41:53 +08:00
Carla Kirk-Cohen
019da315a8
itest: add coverage for custom features
2023-05-04 10:42:17 -04:00
yyforyongyu
e715b8ed1f
itest+lntest: add itest for mempool preimage watch
2023-04-19 01:18:19 +08:00
Bjarne Magnussen
d7f578b0d9
lntest/itest: adds tests for fundmax
flag of cli:openchannel
2023-04-05 23:09:12 +02:00
Elle Mouton
6f4034f7d1
lntest/itest: add session deletion itest
2023-03-20 16:51:51 +02:00
yyforyongyu
c26917ee1f
multi: rename LookupHtlc
to LookupHtlcResolution
for clarity
2023-03-01 01:47:08 +08:00
yyforyongyu
38063a4720
itest+lntest: add testLookupHTLC
2023-02-27 16:59:16 +08:00
yyforyongyu
9d1d629001
itest+lntest: migrate lntemp
to lntest
...
This commit performs the takeover that `lntemp` is now promoted to be
`lntest`, and the scaffolding is now removed as all the refactoring is
finished!
2023-02-23 21:56:09 +08:00
yyforyongyu
edba938996
multi: add new build tag integration
...
This commit adds a new build tag `integration` and removes the old tag
`rpctest` for clarity. Multiple unnecessary usages of `build !rpctest`
is also removed.
2023-02-23 21:56:09 +08:00
yyforyongyu
0bc86a3b4b
multi: move itest
out of lntest
...
This commit moves all the test cases living in `itest` out of `lntest`,
further making `lntest` an independent package for general testing.
2023-02-23 21:56:08 +08:00