mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
[3.5]backport: Reduce ExpectFunc polling interval.
Fixes issue 14275, flakes close to timeout like TestKVDelete. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com> Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
This commit is contained in:
parent
4f33d5bcaf
commit
ea94399e3f
@ -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