From 171265bc0d0a22d39b29b220ea5242223e2e5c50 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Thu, 22 Jan 2026 16:54:45 -0500 Subject: [PATCH] Tweak delta to make test less flaky on CI. --- .../groovy/datadog/trace/util/AgentTaskSchedulerTest.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal-api/src/test/groovy/datadog/trace/util/AgentTaskSchedulerTest.groovy b/internal-api/src/test/groovy/datadog/trace/util/AgentTaskSchedulerTest.groovy index b783ae7b685..0e39231bf16 100644 --- a/internal-api/src/test/groovy/datadog/trace/util/AgentTaskSchedulerTest.groovy +++ b/internal-api/src/test/groovy/datadog/trace/util/AgentTaskSchedulerTest.groovy @@ -121,8 +121,8 @@ class AgentTaskSchedulerTest extends DDSpecification { then: latch.await(1000, MILLISECONDS) - delta(timestamps.get(1), timestamps.get(0), 0.1, NANOSECONDS.convert(300, MILLISECONDS)) - delta(timestamps.get(2), timestamps.get(1), 0.1, NANOSECONDS.convert(300, MILLISECONDS)) + delta(timestamps.get(1), timestamps.get(0), 0.15, NANOSECONDS.convert(300, MILLISECONDS)) + delta(timestamps.get(2), timestamps.get(1), 0.15, NANOSECONDS.convert(300, MILLISECONDS)) } def "test cancel"() {