grpc/test/cpp/end2end/xds
Mark D. Roth e022a3dfa9
xDS fault injection e2e test: fix flakes caused by processing queued calls in parallel (#32429)
The `XdsFaultInjectionMaxFault` test has seen a few flakes since #32326
was merged. I believe the flakiness is caused by the fact that when a
large number of RPCs are queued up before the resolver result comes in,
those RPCs are now re-processed in parallel instead of sequentially,
which can cause us to delay more RPCs than we should due to the
`max_faults` setting. To fix this, we change the test to ensure that the
channel is connected (i.e., the resolver result has already been
returned) before we start sending a large number of concurrent RPCs.

Although this is the only test that I've seen flakes in, I've made this
same change consistently to all fault injection tests that are creating
a large number of concurrent RPCs, since the same flake could affect any
of them.
2023-02-17 15:50:14 -08:00
..
BUILD Revert "Revert "Revert "Revert "server: introduce ServerMetricRecorde… (#32301) 2023-02-06 12:00:39 -08:00
xds_cluster_end2end_test.cc e2e tests: update regex used for connection failure messages (#32325) 2023-02-08 14:31:07 -08:00
xds_cluster_type_end2end_test.cc xDS: fix bug when receiving an update for an aggregate cluster child (#32249) 2023-01-31 14:58:03 -08:00
xds_core_end2end_test.cc xds_core_e2e_test: fix federation test flake (#31487) 2022-10-31 17:15:34 -07:00
xds_credentials_end2end_test.cc Refactor end2end tests to exercise each EventEngine (#29202) 2022-03-30 15:43:05 -07:00
xds_csds_end2end_test.cc Second attempt: xDS RouteConfig: use ValidationErrors and add unit test (#31658) 2022-11-15 09:31:28 -08:00
xds_end2end_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
xds_end2end_test_lib.cc e2e tests: update regex used for connection failure messages (#32325) 2023-02-08 14:31:07 -08:00
xds_end2end_test_lib.h e2e tests: update regex used for connection failure messages (#32325) 2023-02-08 14:31:07 -08:00
xds_fault_injection_end2end_test.cc xDS fault injection e2e test: fix flakes caused by processing queued calls in parallel (#32429) 2023-02-17 15:50:14 -08:00
xds_outlier_detection_end2end_test.cc Second attempt: xDS Listener: use ValidationErrors and add unit test (#31457) 2022-10-25 15:03:16 -07:00
xds_override_host_end2end_test.cc stateful session affinity: add e2e test for draining state (#32248) 2023-02-02 14:59:10 -08:00
xds_ring_hash_end2end_test.cc e2e tests: update regex used for connection failure messages (#32325) 2023-02-08 14:31:07 -08:00
xds_rls_end2end_test.cc Second attempt: xDS RouteConfig: use ValidationErrors and add unit test (#31658) 2022-11-15 09:31:28 -08:00
xds_routing_end2end_test.cc e2e tests: update regex used for connection failure messages (#32325) 2023-02-08 14:31:07 -08:00
xds_server.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
xds_server.h [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
xds_wrr_end2end_test.cc Revert "Revert "WRR: xDS LB policy support (#32067)" (#32180)" (#32182) 2023-01-23 14:14:32 -08:00