diff --git a/tests/integration/clientv3/naming/resolver_test.go b/tests/integration/clientv3/naming/resolver_test.go index 4e7ecc178..b64acf9a8 100644 --- a/tests/integration/clientv3/naming/resolver_test.go +++ b/tests/integration/clientv3/naming/resolver_test.go @@ -123,9 +123,9 @@ func testEtcdGrpcResolver(t *testing.T, lbPolicy string) { t.Fatalf("couldn't convert to int: %s", string(lastResponse)) } - // Allow 15% tolerance as round robin is not perfect and we don't want the test to flake + // Allow 25% tolerance as round robin is not perfect and we don't want the test to flake expected := float64(totalRequests) * 0.5 - assert.InEpsilon(t, float64(expected), float64(responses), 0.15, "unexpected total responses from foo: %s", string(lastResponse)) + assert.InEpsilon(t, float64(expected), float64(responses), 0.25, "unexpected total responses from foo: %s", string(lastResponse)) } }