From a6b255fe242fb922ce8e2df6a2d01e65305c05ca Mon Sep 17 00:00:00 2001 From: Adam Sandor <10675791+adam-sandor@users.noreply.github.com> Date: Mon, 11 Jan 2021 16:57:47 +0100 Subject: [PATCH] Increase test timer slack time to make test not fail --- .../processing/event/internal/TimerEventSourceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/internal/TimerEventSourceTest.java b/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/internal/TimerEventSourceTest.java index cf95374b2e..4ad431d05d 100644 --- a/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/internal/TimerEventSourceTest.java +++ b/operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/event/internal/TimerEventSourceTest.java @@ -22,7 +22,7 @@ class TimerEventSourceTest { public static final int INITIAL_DELAY = 50; public static final int PERIOD = 50; - public static final int TESTING_TIME_SLACK = 20; + public static final int TESTING_TIME_SLACK = 40; private TimerEventSource timerEventSource; private EventHandler eventHandlerMock = mock(EventHandler.class);