From 5ba0e45be2cb04c2001a57aacf25925f3b178f68 Mon Sep 17 00:00:00 2001 From: Alejandro Serrano Mena Date: Wed, 17 Apr 2024 21:11:28 +0200 Subject: [PATCH] Fix timeout in test --- .../src/commonTest/kotlin/arrow/core/NonEmptyListTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/NonEmptyListTest.kt b/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/NonEmptyListTest.kt index b031c930bc5..29023d96cab 100644 --- a/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/NonEmptyListTest.kt +++ b/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/NonEmptyListTest.kt @@ -51,7 +51,7 @@ class NonEmptyListTest { @Test fun iterableToNonEmptyListOrNullShouldWorkCorrectlyWhenTheIterableStartsWithOrContainsNull() = runTest { checkAll(Arb.list(Arb.int())) { list -> - checkAll(Arb.int(min = 0, max = list.size)) { ix -> + checkAll(iterations = 5, Arb.int(min = 0, max = list.size)) { ix -> val mutableList: MutableList = list.toMutableList() mutableList.add(ix, null) mutableList.toNonEmptyListOrNull().shouldNotBeNull() shouldBe mutableList