[xDS e2e tests] add 1K RPCs to try to work around statistical problem (#33409)

pull/33441/head
Mark D. Roth 2 years ago committed by GitHub
parent 51a6857fa1
commit f34a39af74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      test/cpp/end2end/xds/xds_end2end_test_lib.h

@ -1073,6 +1073,7 @@ class XdsEnd2endTest : public ::testing::TestWithParam<XdsTestType> {
GPR_ASSERT(p >= 0 && p <= 1);
size_t num_rpcs =
ceil(p * (1 - p) * 5.00 * 5.00 / error_tolerance / error_tolerance);
num_rpcs += 1000; // Add 1K as a buffer to avoid flakiness.
gpr_log(GPR_INFO,
"Sending %" PRIuPTR
" RPCs for percentage=%.3f error_tolerance=%.3f",

Loading…
Cancel
Save