From 138136134f105cf9a739bae60958e0691dc27da0 Mon Sep 17 00:00:00 2001 From: Tijl Date: Fri, 19 May 2023 16:19:07 +0200 Subject: [PATCH] increase initial capture time #639 --- .../com/splendo/kaluga/datetime/timer/RecurringTimerTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/date-time/src/commonTest/kotlin/com/splendo/kaluga/datetime/timer/RecurringTimerTest.kt b/date-time/src/commonTest/kotlin/com/splendo/kaluga/datetime/timer/RecurringTimerTest.kt index e5b42a179..9e33bb998 100644 --- a/date-time/src/commonTest/kotlin/com/splendo/kaluga/datetime/timer/RecurringTimerTest.kt +++ b/date-time/src/commonTest/kotlin/com/splendo/kaluga/datetime/timer/RecurringTimerTest.kt @@ -186,7 +186,7 @@ class RecurringTimerTest { ) // capture and validate an initial state - val initial = timer.elapsed().captureFor(100.milliseconds) + val initial = timer.elapsed().captureFor(200.milliseconds) assertEquals(listOf(Duration.ZERO), initial, "timer was not started in paused state") // capture and validate a first chunk of data timer.start()