Skip to content

Commit

Permalink
Enhance Records Filtering: Utilizing Labels In The E2E Test
Browse files Browse the repository at this point in the history
In this commit, we:
1. Set a label to Perftest Pods before initiating traffic in each subtest to filter records in both the IPFIX collector Pod and the ClickHouse.
2. Remove the --since-time flag used during log retrieval from the IPFIX collector Pod in the e2e test.
3. Cease reliance on timestamps for record filtering due to potential time discrepancies between the testbed and Kubernetes nodes, which might hinder the retrieval of desired logs.

Signed-off-by: Yun-Tang Hsu <hsuy@vmware.com>
  • Loading branch information
yuntanghsu committed Nov 23, 2023
1 parent ac314f0 commit 707540f
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 81 deletions.
2 changes: 1 addition & 1 deletion ci/kind/test-e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function run_test {
fi

if $flow_visibility; then
timeout="20m"
timeout="25m"
flow_visibility_args="-run=TestFlowAggregator --flow-visibility"
if $coverage; then
$FLOWAGGREGATOR_YML_CMD --coverage | docker exec -i kind-control-plane dd of=/root/flow-aggregator-coverage.yml
Expand Down
Loading

0 comments on commit 707540f

Please sign in to comment.