Skip to content

Unexpected state found in TestInvoiceRegistry #10143

@yyforyongyu

Description

@yyforyongyu

From this build,

--- FAIL: TestInvoiceRegistry (5.25s)
    --- FAIL: TestInvoiceRegistry/InvoiceExpiryWithRegistry_KV (5.02s)
        invoiceregistry_test.go:1321: 
            	Error Trace:	/home/runner/work/lnd/lnd/invoices/invoiceregistry_test.go:1321
            	            				/home/runner/work/lnd/lnd/invoices/invoiceregistry_test.go:166
            	Error:      	Received unexpected error:
            	            	expected state Canceled, got Open
            	Test:       	TestInvoiceRegistry/InvoiceExpiryWithRegistry_KV
            	Messages:   	timeout checking invoice state

We also have the following issues,

We should preempt this issue - if it's a flake, we fix the test so it's less distracting; otherwise we need to fix it before it becomes a user-reported bug. @saubyk

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions