-
Notifications
You must be signed in to change notification settings - Fork 368
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 (#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 #6478 Signed-off-by: Antonin Bas <[email protected]>
- Loading branch information
1 parent
f5996af
commit 9c7424a
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