From 09d662a8156fccb46424ddd88af82560b468e59a Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Wed, 19 Mar 2025 15:19:18 +0700 Subject: [PATCH] Increase max heap size in tests --- build.gradle.kts | 1 + src/test/kotlin/ru/dbotthepony/kommons/test/StreamTests.kt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 4446678..bb980b8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,6 +33,7 @@ val jupiterVersion: String by project tasks.test { useJUnitPlatform() + maxHeapSize = "8G" } dependencies { diff --git a/src/test/kotlin/ru/dbotthepony/kommons/test/StreamTests.kt b/src/test/kotlin/ru/dbotthepony/kommons/test/StreamTests.kt index a4aa707..e28c2ec 100644 --- a/src/test/kotlin/ru/dbotthepony/kommons/test/StreamTests.kt +++ b/src/test/kotlin/ru/dbotthepony/kommons/test/StreamTests.kt @@ -3,7 +3,6 @@ package ru.dbotthepony.kommons.test import it.unimi.dsi.fastutil.io.FastByteArrayInputStream import it.unimi.dsi.fastutil.io.FastByteArrayOutputStream import org.junit.jupiter.api.Test -import ru.dbotthepony.kommons.io.readVarInt import ru.dbotthepony.kommons.io.readVarIntInfo import ru.dbotthepony.kommons.io.writeVarInt import kotlin.test.assertEquals