Merge pull request #14283 from tjungblu/issue_14275

Reduce ExpectFunc polling interval
This commit is contained in:
Marek Siarkowicz 2022-07-28 14:57:49 +02:00 committed by GitHub
commit 223b33f23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ func (ep *ExpectProcess) ExpectFunc(f func(string) bool) (string, error) {
break
}
ep.mu.Unlock()
time.Sleep(time.Millisecond * 100)
time.Sleep(time.Millisecond * 10)
}
ep.mu.Lock()
lastLinesIndex := len(ep.lines) - DEBUG_LINES_TAIL