lightning-terminal/itest
bitromortac 6f8159e003 itest: wait for LiT's own Running status in WaitUntilStarted
HarnessNode.Start calls WaitUntilStarted, then immediately reads
LitMacPath off disk via connectLitRPC to set up hn.litConn. But
WaitUntilStarted only polled subservers.LND's Running status, not LiT's
own - and litd only bakes and writes its default macaroons to disk
during its own startInternalSubServers step, strictly after LND is
marked Running but before LiT itself is. That left a window where the
harness read LitMacPath before litd had written it, failing with
"open .../lit.macaroon: no such file or directory"
(TestLightningTerminal/.../terminal_stateless_init_mode, CI run
29407791912).

Wait for subservers.LIT's Running status alongside the existing
per-subserver checks so callers can't observe LiT as "started" before
it has finished baking its macaroons.
2026-07-16 09:53:44 +00:00
..
assertions.go itest: add custom channel integration test 2024-12-19 21:21:39 +01:00
litd_accounts_test.go itest: formatting enhancements for tap payments 2025-10-15 11:07:21 +02:00
litd_firewall_test.go itest: fix testRequestLoggerDisable node cleanup 2026-06-22 03:27:39 -05:00
litd_migration_test.go multi: confirm kvdb migration at startup 2026-06-08 21:11:51 +02:00
litd_mode_integrated_test.go itest: add custom permissions integration tests 2026-06-22 01:50:56 -05:00
litd_mode_remote_test.go itest: add custom permissions integration tests 2026-06-22 01:50:56 -05:00
litd_node.go itest: wait for LiT's own Running status in WaitUntilStarted 2026-07-16 09:53:44 +00:00
litd_stateless_init_test.go itest: add a stateless_init test 2024-10-14 16:57:00 +02:00
litd_test.go itest: remove custom channels tests and backward compat infrastructure 2026-03-16 15:37:49 +01:00
litd_test_list_off_test.go multi: remove legacy // +build tag Lines 2025-11-25 01:38:22 +01:00
litd_test_list_on_test.go itest: add kvdb -> SQL migration test 2026-05-14 11:38:45 +02:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
network_harness.go multi: bump lnd, lndclient, and taproot-assets dependencies 2026-06-08 13:18:37 -04:00
server_harness.go itest: export ServerHarness publicly 2023-05-11 00:55:14 +02:00
test_harness.go multi: bump lnd, lndclient, and taproot-assets dependencies 2026-06-08 13:18:37 -04:00