You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test's own 1-minute timeout (test_utils_test.go:400) fired while the main test goroutine was blocked at invoiceregistry_test.go:2966 on <-hodlChan1, waiting for the MPP-timeout HtlcFailResolution right after ctx.clock.SetTime(testTime.Add(30 * time.Second)). (The same dump also shows a goroutine parked in a dockertest StopContainer HTTP call, which is teardown noise rather than the cause.)
The queued PR for that run (#11632) does not touch the invoices package, so this is not a queued-PR regression.
Diagnosis
Same lost-tick race as #9548: the invoice registry arms the HTLC auto-release timer with clock.TickAfter(deadline.Sub(clock.Now())) — two separate calls on a TestClock the test advances from another goroutine. When SetTime lands between the Now() read and the TickAfter registration, the trigger is scheduled at deadline + advancement and never fires inside the test window. FailPartialAMPPayment_* (#9548) and now MultipleSetHeightExpiry_Postgres block on exactly that missing timer.
Open PR #11638 adds Clock.TickAt (registers the absolute trigger time under the clock's lock) and is expected to resolve this test as well. Tracking this test separately so occurrences have a durable home; this can be closed once #11638 merges and the leg stays green.
Activity