Skip to content

Commit 9a773f1

Browse files
committed
Ignore a flaky test
1 parent 2a9b88c commit 9a773f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlinx-coroutines-core/jvm/test/ThreadLocalsLeaksTest.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import kotlin.coroutines.AbstractCoroutineContextElement
77
import kotlin.coroutines.Continuation
88
import kotlin.coroutines.ContinuationInterceptor
99
import kotlin.coroutines.CoroutineContext
10-
import kotlin.test.Test
10+
import kotlin.test.*
1111

1212
/*
1313
* This is an adapted verion of test from #4296.
1414
*
1515
* qwwdfsad: the test relies on System.gc() actually collecting the garbage.
1616
* If these tests flake on CI, first check that JDK/GC setup in not an issue.
1717
*/
18+
@Ignore
1819
class ThreadLocalCustomContinuationInterceptorTest : TestBase() {
1920

2021
private class CustomContinuationInterceptor(private val delegate: ContinuationInterceptor) :
@@ -41,7 +42,6 @@ class ThreadLocalCustomContinuationInterceptorTest : TestBase() {
4142
@Test(timeout = 20_000L)
4243
fun testDefaultDispatcher() = ensureCoroutineContextGCed(Dispatchers.Default, suspend = true)
4344

44-
4545
@Test(timeout = 20_000L)
4646
fun testNonCoroutineDispatcher() = ensureCoroutineContextGCed(
4747
CustomContinuationInterceptor(Dispatchers.Default),

0 commit comments

Comments
 (0)