Skip to content

Commit 7630f33

Browse files
authored
test: Added more test data for pattern detection tests (#12920)
1 parent 5cd850e commit 7630f33

9 files changed

+10357
-94
lines changed

pkg/pattern/drain/drain_test.go

+356-93
Large diffs are not rendered by default.

pkg/pattern/drain/testdata/agent-logfmt.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -997,4 +997,4 @@ ts=2024-04-16T15:10:42.557068004Z level=info msg="finished node evaluation" cont
997997
ts=2024-04-16T15:10:42.55528547Z level=info msg="finished node evaluation" controller_id=module.http.cloudwatch_pipelines node_id=prometheus.scrape.stack_378175_cloudwatch_notags duration=14.748545ms
998998
ts=2024-04-16T15:10:42.555273483Z level=info msg="finished node evaluation" controller_id=module.http.cloudwatch_pipelines node_id=prometheus.scrape.stack_378175_cloudwatch_notags duration=14.735015ms
999999
ts=2024-04-16T15:10:42.555218448Z level=info msg="finished node evaluation" controller_id=module.http.cloudwatch_pipelines node_id=prometheus.scrape.stack_378175_cloudwatch_notags duration=38.592855ms
1000-
2024-04-16 15:10:42.555 ts=2024-04-16T15:10:42.555230437Z level=info msg="finished node evaluation" controller_id=module.http.cloudwatch_pipelines node_id=prometheus.scrape.stack_378175_cloudwatch_notags duration=38.545339ms
1000+
ts=2024-04-16T15:10:42.555230437Z level=info msg="finished node evaluation" controller_id=module.http.cloudwatch_pipelines node_id=prometheus.scrape.stack_378175_cloudwatch_notags duration=38.545339ms

pkg/pattern/drain/testdata/calico.txt

+1,000
Large diffs are not rendered by default.

pkg/pattern/drain/testdata/custom.txt

Whitespace-only changes.

pkg/pattern/drain/testdata/distributor-logfmt.txt

+5,000
Large diffs are not rendered by default.

pkg/pattern/drain/testdata/journald.txt

+1,000
Large diffs are not rendered by default.

pkg/pattern/drain/testdata/kafka.txt

+1,000
Large diffs are not rendered by default.

pkg/pattern/drain/testdata/kubernetes.txt

+1,000
Large diffs are not rendered by default.

pkg/pattern/drain/testdata/vault.txt

+1,000
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)