refactor(logs): show timeout
This commit is contained in:
parent
ed34797dc0
commit
592fdc8b83
@ -361,7 +361,7 @@ func (q *System) Stop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (q *System) WaitForSSH(timeout time.Duration) error {
|
func (q *System) WaitForSSH(timeout time.Duration) error {
|
||||||
q.Log.Debug().Msg("wait for ssh")
|
q.Log.Debug().Msgf("wait for ssh for %v", timeout)
|
||||||
|
|
||||||
for start := time.Now(); time.Since(start) < timeout; {
|
for start := time.Now(); time.Since(start) < timeout; {
|
||||||
time.Sleep(time.Second / 4)
|
time.Sleep(time.Second / 4)
|
||||||
|
Loading…
Reference in New Issue
Block a user