From bea19175f77737c969b929b7412324f8fb93c4d8 Mon Sep 17 00:00:00 2001 From: kcreddy Date: Tue, 21 Apr 2026 14:42:20 +0530 Subject: [PATCH 1/3] Fix policy tests' flaky test issue in Serverless env --- .../data_stream/telemetry/_dev/test/policy/test-all.expected | 4 ++-- .../telemetry/_dev/test/policy/test-default.expected | 4 ++-- .../data_stream/telemetry/agent/stream/cel.yml.hbs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-all.expected b/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-all.expected index 2fd14fa59df..56c18a2eb0c 100644 --- a/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-all.expected +++ b/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-all.expected @@ -35,8 +35,8 @@ inputs: // a package having `createdDateTime == endDateTime` will be rare.** // // The documentation calls it "the end of the data retrieval time range". - // It also says that "The data pipeline ingests data at least every 2 - // minutes." If a package is created every minute on average, there's a + // It also says that - the data pipeline ingests data at least every 2 + // minutes. If a package is created every minute on average, there's a // 1.7% chance it's creation time will fall on the last second of a given // 15 minute window. // If the condition is inclusive and a package falls on the `endDateTime`, diff --git a/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-default.expected b/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-default.expected index cd4517a0e80..7686c30195f 100644 --- a/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-default.expected +++ b/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-default.expected @@ -30,8 +30,8 @@ inputs: // a package having `createdDateTime == endDateTime` will be rare.** // // The documentation calls it "the end of the data retrieval time range". - // It also says that "The data pipeline ingests data at least every 2 - // minutes." If a package is created every minute on average, there's a + // It also says that - the data pipeline ingests data at least every 2 + // minutes. If a package is created every minute on average, there's a // 1.7% chance it's creation time will fall on the last second of a given // 15 minute window. // If the condition is inclusive and a package falls on the `endDateTime`, diff --git a/packages/trend_micro_vision_one/data_stream/telemetry/agent/stream/cel.yml.hbs b/packages/trend_micro_vision_one/data_stream/telemetry/agent/stream/cel.yml.hbs index e2688ff4592..14b0e615f98 100644 --- a/packages/trend_micro_vision_one/data_stream/telemetry/agent/stream/cel.yml.hbs +++ b/packages/trend_micro_vision_one/data_stream/telemetry/agent/stream/cel.yml.hbs @@ -65,8 +65,8 @@ program: | // a package having `createdDateTime == endDateTime` will be rare.** // // The documentation calls it "the end of the data retrieval time range". - // It also says that "The data pipeline ingests data at least every 2 - // minutes." If a package is created every minute on average, there's a + // It also says that - the data pipeline ingests data at least every 2 + // minutes. If a package is created every minute on average, there's a // 1.7% chance it's creation time will fall on the last second of a given // 15 minute window. // If the condition is inclusive and a package falls on the `endDateTime`, From 4bf7ec9a29f5be979bd52b546f49fb12e4f53833 Mon Sep 17 00:00:00 2001 From: kcreddy Date: Thu, 23 Apr 2026 00:12:14 +0530 Subject: [PATCH 2/3] Address review comment --- .../data_stream/telemetry/agent/stream/cel.yml.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/trend_micro_vision_one/data_stream/telemetry/agent/stream/cel.yml.hbs b/packages/trend_micro_vision_one/data_stream/telemetry/agent/stream/cel.yml.hbs index 14b0e615f98..9e21807d2f9 100644 --- a/packages/trend_micro_vision_one/data_stream/telemetry/agent/stream/cel.yml.hbs +++ b/packages/trend_micro_vision_one/data_stream/telemetry/agent/stream/cel.yml.hbs @@ -65,8 +65,8 @@ program: | // a package having `createdDateTime == endDateTime` will be rare.** // // The documentation calls it "the end of the data retrieval time range". - // It also says that - the data pipeline ingests data at least every 2 - // minutes. If a package is created every minute on average, there's a + // It also says that "The data pipeline ingests data at least every 2 minutes." + // If a package is created every minute on average, there's a // 1.7% chance it's creation time will fall on the last second of a given // 15 minute window. // If the condition is inclusive and a package falls on the `endDateTime`, From 8207751796c750907b3cecc95bccd704ec78db9d Mon Sep 17 00:00:00 2001 From: kcreddy Date: Thu, 23 Apr 2026 00:18:38 +0530 Subject: [PATCH 3/3] Fix policy expected --- .../data_stream/telemetry/_dev/test/policy/test-all.expected | 4 ++-- .../telemetry/_dev/test/policy/test-default.expected | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-all.expected b/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-all.expected index 56c18a2eb0c..9050ba95fd0 100644 --- a/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-all.expected +++ b/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-all.expected @@ -35,8 +35,8 @@ inputs: // a package having `createdDateTime == endDateTime` will be rare.** // // The documentation calls it "the end of the data retrieval time range". - // It also says that - the data pipeline ingests data at least every 2 - // minutes. If a package is created every minute on average, there's a + // It also says that "The data pipeline ingests data at least every 2 minutes." + // If a package is created every minute on average, there's a // 1.7% chance it's creation time will fall on the last second of a given // 15 minute window. // If the condition is inclusive and a package falls on the `endDateTime`, diff --git a/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-default.expected b/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-default.expected index 7686c30195f..5d9e1357698 100644 --- a/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-default.expected +++ b/packages/trend_micro_vision_one/data_stream/telemetry/_dev/test/policy/test-default.expected @@ -30,8 +30,8 @@ inputs: // a package having `createdDateTime == endDateTime` will be rare.** // // The documentation calls it "the end of the data retrieval time range". - // It also says that - the data pipeline ingests data at least every 2 - // minutes. If a package is created every minute on average, there's a + // It also says that "The data pipeline ingests data at least every 2 minutes." + // If a package is created every minute on average, there's a // 1.7% chance it's creation time will fall on the last second of a given // 15 minute window. // If the condition is inclusive and a package falls on the `endDateTime`,