From 9a773f111512d194bd7e6d9ec27ff672f9b4352f Mon Sep 17 00:00:00 2001 From: Dmitry Khalanskiy Date: Fri, 20 Dec 2024 11:53:27 +0100 Subject: [PATCH] Ignore a flaky test --- kotlinx-coroutines-core/jvm/test/ThreadLocalsLeaksTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlinx-coroutines-core/jvm/test/ThreadLocalsLeaksTest.kt b/kotlinx-coroutines-core/jvm/test/ThreadLocalsLeaksTest.kt index 08f4cff15f..f7a015a13e 100644 --- a/kotlinx-coroutines-core/jvm/test/ThreadLocalsLeaksTest.kt +++ b/kotlinx-coroutines-core/jvm/test/ThreadLocalsLeaksTest.kt @@ -7,7 +7,7 @@ import kotlin.coroutines.AbstractCoroutineContextElement import kotlin.coroutines.Continuation import kotlin.coroutines.ContinuationInterceptor import kotlin.coroutines.CoroutineContext -import kotlin.test.Test +import kotlin.test.* /* * This is an adapted verion of test from #4296. @@ -15,6 +15,7 @@ import kotlin.test.Test * qwwdfsad: the test relies on System.gc() actually collecting the garbage. * If these tests flake on CI, first check that JDK/GC setup in not an issue. */ +@Ignore class ThreadLocalCustomContinuationInterceptorTest : TestBase() { private class CustomContinuationInterceptor(private val delegate: ContinuationInterceptor) : @@ -41,7 +42,6 @@ class ThreadLocalCustomContinuationInterceptorTest : TestBase() { @Test(timeout = 20_000L) fun testDefaultDispatcher() = ensureCoroutineContextGCed(Dispatchers.Default, suspend = true) - @Test(timeout = 20_000L) fun testNonCoroutineDispatcher() = ensureCoroutineContextGCed( CustomContinuationInterceptor(Dispatchers.Default),