Skip to content

Commit e59dcd5

Browse files
authored
xds: force-enable retries in xds_end2end_test to make things work internally (#28564)
1 parent 7069770 commit e59dcd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/cpp/end2end/xds/xds_end2end_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,8 @@ class XdsEnd2endTest : public ::testing::TestWithParam<TestType> {
913913
const char* xds_authority = "",
914914
grpc_channel_args* xds_channel_args = nullptr) {
915915
ChannelArguments args;
916+
// TODO(roth): Remove this once we enable retries by default internally.
917+
args.SetInt(GRPC_ARG_ENABLE_RETRIES, 1);
916918
if (failover_timeout > 0) {
917919
args.SetInt(GRPC_ARG_PRIORITY_FAILOVER_TIMEOUT_MS, failover_timeout);
918920
}

0 commit comments

Comments
 (0)