forked from antrea-io/antrea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error logs for FlowAggregator e2e tests (antrea-io#6730)
When the IPFIX collector has not received the expected flow records, we try to dump the actual list of records to facilitate troubleshooting. However, the output is to large to be handled by the testify assertions (and IMO it is too large to be useful for troubleshooting). With this change, if the expected records are not found in the collector output, we only print the 20 most recent records, in a format that should be easier to leverage for troubleshooting. Fixes antrea-io#6478 Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
- Loading branch information
1 parent
c2b4ccb
commit f586bb8
Showing
1 changed file
with
55 additions
and
45 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