mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Reduce ExpectFunc polling interval.
Fixes issue 14275, flakes close to timeout like TestKVDelete. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
This commit is contained in:
parent
5d96a7273b
commit
eb59368440
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user