From 1d39d9d8b51e18c2a7dd74a7852fa8fca956fa17 Mon Sep 17 00:00:00 2001 From: Jakub Wojnowski <29680262+jwojnowski@users.noreply.github.com> Date: Sun, 28 Jan 2024 19:47:39 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Increase=20the=20timeout=20of=20?= =?UTF-8?q?CollisionTest=20and=20add=20.sbtopts.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .sbtopts | 2 ++ core/src/test/scala/me/wojnowski/scuid/CollisionTest.scala | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .sbtopts diff --git a/.sbtopts b/.sbtopts new file mode 100644 index 0000000..28f6569 --- /dev/null +++ b/.sbtopts @@ -0,0 +1,2 @@ +-J-Xmx4G +-J-XX:+UseG1GC diff --git a/core/src/test/scala/me/wojnowski/scuid/CollisionTest.scala b/core/src/test/scala/me/wojnowski/scuid/CollisionTest.scala index fdc0a05..9f66e61 100644 --- a/core/src/test/scala/me/wojnowski/scuid/CollisionTest.scala +++ b/core/src/test/scala/me/wojnowski/scuid/CollisionTest.scala @@ -32,7 +32,7 @@ import munit.CatsEffectSuite class CollisionTest extends CatsEffectSuite { - override def munitTimeout: Duration = 10.minutes + override def munitTimeout: Duration = 20.minutes test("Check for collisions") { val parallelism = Runtime.getRuntime.availableProcessors