Commit f9865af
fix(e2e): wait for flow cleanup before checking service after deletion in metallb test (#6359)
The metallb e2e test "should support metallb and underlay combine" fails
intermittently with curl exit code 56 (connection reset) when checking
the second service's reachability immediately after deleting the first
service. This happens because the OVN LoadBalancer data plane update and
the daemon's syncFlows (ovs-ofctl replace-flows) have not yet completed,
causing a brief disruption to the remaining service's data path.
Add a waitUnderlayServiceFlowCleaned helper that polls all nodes until
the deleted service's OpenFlow rules are fully removed from the external
bridge, ensuring the data plane has stabilized before checking the
second service.
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent d972147 commit f9865af
1 file changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
432 | 437 | | |
433 | 438 | | |
434 | 439 | | |
| |||
614 | 619 | | |
615 | 620 | | |
616 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
0 commit comments