tests: more tolerance to latency for unstable test `TestCacheNotifyPolling()`. (#7574)

This commit is contained in:
Pierre Souchay 2020-04-03 10:29:38 +02:00 committed by GitHub
parent b61214ef24
commit 09e638a9c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {