mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-25 13:12:11 +02:00
invoices/test: lower test delay
Previously 5 seconds was used, which made the otherwise fast registry tests relatively slow.
This commit is contained in:
@@ -770,7 +770,7 @@ func TestInvoiceExpiryWithRegistry(t *testing.T) {
|
||||
testClock.SetTime(testTime.Add(24 * time.Hour))
|
||||
|
||||
// Give some time to the watcher to cancel everything.
|
||||
time.Sleep(testTimeout)
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
registry.Stop()
|
||||
|
||||
// Create the expected cancellation set before the final check.
|
||||
|
Reference in New Issue
Block a user