mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-04 18:01:57 +01:00
htlcswitch/link_test: double timeouts
Double the timeout to allow the htlcswitch tests to finish on slow systems (darwin...).
This commit is contained in:
@@ -1412,7 +1412,7 @@ func timeout(t *testing.T) func() {
|
||||
done := make(chan struct{})
|
||||
go func() {
|
||||
select {
|
||||
case <-time.After(10 * time.Second):
|
||||
case <-time.After(20 * time.Second):
|
||||
pprof.Lookup("goroutine").WriteTo(os.Stdout, 1)
|
||||
|
||||
panic("test timeout")
|
||||
|
||||
Reference in New Issue
Block a user