xds: force-enable retries in xds_end2end_test to make things work internally (#28564)

pull/28566/head
Mark D. Roth 3 years ago committed by GitHub
parent 7069770ee0
commit e59dcd5c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/cpp/end2end/xds/xds_end2end_test.cc

@ -913,6 +913,8 @@ class XdsEnd2endTest : public ::testing::TestWithParam<TestType> {
const char* xds_authority = "",
grpc_channel_args* xds_channel_args = nullptr) {
ChannelArguments args;
// TODO(roth): Remove this once we enable retries by default internally.
args.SetInt(GRPC_ARG_ENABLE_RETRIES, 1);
if (failover_timeout > 0) {
args.SetInt(GRPC_ARG_PRIORITY_FAILOVER_TIMEOUT_MS, failover_timeout);
}

Loading…
Cancel
Save