diff --git a/itest/cln_lspd_node.go b/itest/cln_lspd_node.go index 96e97d70..c17447c1 100644 --- a/itest/cln_lspd_node.go +++ b/itest/cln_lspd_node.go @@ -9,6 +9,7 @@ import ( "path/filepath" "sync" "syscall" + "time" "github.com/breez/lntest" "github.com/breez/lspd/config" @@ -157,6 +158,7 @@ func (c *ClnLspNode) Start() { }, }) + <-time.After(time.Second) conn, err := grpc.Dial( c.lspBase.grpcAddress, grpc.WithTransportCredentials(insecure.NewCredentials()), diff --git a/itest/lnd_lspd_node.go b/itest/lnd_lspd_node.go index 745b14b8..1cc46649 100644 --- a/itest/lnd_lspd_node.go +++ b/itest/lnd_lspd_node.go @@ -11,6 +11,7 @@ import ( "strings" "sync" "syscall" + "time" "github.com/breez/lntest" "github.com/breez/lspd/config" @@ -180,6 +181,7 @@ func (c *LndLspNode) Start() { }, }) + <-time.After(time.Second) conn, err := grpc.Dial( c.lspBase.grpcAddress, grpc.WithTransportCredentials(insecure.NewCredentials()),