diff --git a/cmd/http/dial_dnscache_test.go b/cmd/http/dial_dnscache_test.go index 2833a1a84..f2f2951d4 100644 --- a/cmd/http/dial_dnscache_test.go +++ b/cmd/http/dial_dnscache_test.go @@ -132,8 +132,8 @@ func TestDialContextWithDNSCacheRand(t *testing.T) { for _, c := range count { got := float32(c) / float32(100) - if got < float32(0.2) { - t.Fatalf("expected 0.2 rate got %f", got) + if got < float32(0.1) { + t.Fatalf("expected 0.1 rate got %f", got) } } }