invoices/test: lower test delay

Previously 5 seconds was used, which made the otherwise fast registry
tests relatively slow.
This commit is contained in:
Joost Jager 2019-12-14 10:37:23 +01:00
parent 7eacc40419
commit c89f0dc7c1
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -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.