mirror of https://github.com/status-im/consul.git
tests: more tolerance to latency for unstable test `TestCacheNotifyPolling()`. (#7574)
This commit is contained in:
parent
b61214ef24
commit
09e638a9c6
|
@ -249,7 +249,7 @@ func TestCacheNotifyPolling(t *testing.T) {
|
||||||
// wait for the next batch of responses
|
// wait for the next batch of responses
|
||||||
events := make([]UpdateEvent, 0)
|
events := make([]UpdateEvent, 0)
|
||||||
// At least 110ms is needed to allow for the jitter
|
// At least 110ms is needed to allow for the jitter
|
||||||
timeout := time.After(150 * time.Millisecond)
|
timeout := time.After(220 * time.Millisecond)
|
||||||
|
|
||||||
for i := 0; i < 2; i++ {
|
for i := 0; i < 2; i++ {
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in New Issue