mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-09 12:22:38 +01:00
test: reposition context creation and extend TLS timeout
Fixes timeouts during integration tests on slower machines.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
a7218e84ea
commit
c87678e695
@@ -256,7 +256,7 @@ func (l *lightningNode) Start(lndError chan error) error {
|
||||
|
||||
// Wait until TLS certificate and admin macaroon are created before
|
||||
// using them, up to 20 sec.
|
||||
tlsTimeout := time.After(20 * time.Second)
|
||||
tlsTimeout := time.After(30 * time.Second)
|
||||
for !fileExists(l.cfg.TLSCertPath) || !fileExists(l.cfg.AdminMacPath) {
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user