Description
What would you like to be added:
Some changes to conformance framework to reduce potential flakiness. Solutions might include:
- A configurable timeout between tests to account for this kind of flakiness (depends on how long it takes for config to propagate in underlying implementation)
- Reusing Gateways less across different tests
- Encouraging each test to have unique path matchers (or any other kind of matcher)
Also open to any other alternatives.
Why this is needed:
As we're submitting a conformance report for GKE (#3230), we found that the simplest reproduction steps could be flaky. This is because the features we support result in a unique and somewhat problematic sequence of tests running. We go from simple-same-namespace
:
to weighted backends:
gateway-api/conformance/tests/httproute-weight.yaml
Lines 7 to 19 in 58d5098
Importantly both tests are using the same Gateway, matching criteria (any), and primary Service. This means that if the routing configuration hasn't propagated quite yet, it will just look like we're not traffic splitting, and thus result in a flaky failure.