-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flakiness in Kind e2e flow aggregator tests
The expected number of records is not correct in Kind clusters as packet counters are not supported in conntrack entries for OVS userspace datapath. Flow exporter cannot send records after active timeout expiry as we cannot consider flows to be active without the statistics. This was missed when bandwidth tests are modified for Kind clusters in PR #1802. Therefore, we expect only 2 records for any given flow in Kind clusters. We expect this limitation to be resolved soon when OVS userspace datapath support statistics in conntrack entries. In e2e test, we expect 2 flow records for Kind clusters and 3 flow records in other clusters. In addition, we consider source port from iperf flows to ignore other similar flow records from the iperf control flows. Because of this we were passing the tests earlier in Kind clusters. Signed-off-by: Srikar Tati <stati@vmware.com>
- Loading branch information
1 parent
ef14ad1
commit 7bcb10f
Showing
3 changed files
with
53 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters