From 0266dc57c7c864f25b9653ec8dc3a4fb563a01cd Mon Sep 17 00:00:00 2001 From: Raj Nishtala Date: Thu, 12 Jun 2025 14:02:23 -0400 Subject: [PATCH 1/2] fix: Issue with the routing logs test --- tests/integration/features.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/integration/features.go b/tests/integration/features.go index fab6034f2..2ca3b79fc 100644 --- a/tests/integration/features.go +++ b/tests/integration/features.go @@ -343,9 +343,8 @@ func waitForDeploymentLogs(count uint, strict bool, waitFunction stepfuncs.WaitF return waitFunction( count, map[string]string{ - "namespace": internal.LogsGeneratorName, - "pod_labels_app": internal.LogsGeneratorName, - "deployment": internal.LogsGeneratorName, + "namespace": internal.LogsGeneratorName, + "deployment": internal.LogsGeneratorName, }, waitDuration, tickDuration, @@ -357,9 +356,8 @@ func waitForDaemonsetLogs(count uint, strict bool, waitFunction stepfuncs.WaitFo return waitFunction( count, map[string]string{ - "namespace": internal.LogsGeneratorName, - "pod_labels_app": internal.LogsGeneratorName, - "daemonset": internal.LogsGeneratorName, + "namespace": internal.LogsGeneratorName, + "daemonset": internal.LogsGeneratorName, }, waitDuration, tickDuration, From 6fa9e9c3d54ddf92fab75bf6806c446661486dc4 Mon Sep 17 00:00:00 2001 From: Raj Nishtala Date: Thu, 12 Jun 2025 16:47:10 -0400 Subject: [PATCH 2/2] chore: Reduce the expected log count in the tests --- tests/integration/features.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/features.go b/tests/integration/features.go index 2ca3b79fc..3710bb024 100644 --- a/tests/integration/features.go +++ b/tests/integration/features.go @@ -35,7 +35,7 @@ const ( waitDuration = 1 * time.Minute // number determined experimentally expectedEventCount uint = 50 - logsGeneratorCount uint = 1000 + logsGeneratorCount uint = 600 // number of log records in single loop with default multiline support only, see: tests/integration/yamls/pod_multiline_long_lines.yaml logRecords = 4 + 10 // number of log records in single loop with multiple multilines support, see: tests/integration/yamls/pod_multiline_long_lines.yaml