Commit f876707
Foo Bar
test(e2e): poll for upstream count in multiple-backends route test
The 'ApisixRoute with multiple backends' spec asserted the data-plane upstream
count exactly once, immediately after applying the route. The controller syncs
the four upstreams asynchronously, so the single check can race and observe
fewer (seen as 3 != 4 under load). Wrap it in a polling assertion so it waits
for eventual consistency.1 parent dc63f19 commit f876707
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2201 | 2201 | | |
2202 | 2202 | | |
2203 | 2203 | | |
2204 | | - | |
2205 | | - | |
2206 | | - | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
2207 | 2217 | | |
2208 | 2218 | | |
2209 | 2219 | | |
| |||
0 commit comments