Add a kotlin annotation to assert that we know what we're doing (#3709)
Resolves #3654
This commit is contained in:
parent
0f93c3bd8e
commit
37b6807368
|
|
@ -74,6 +74,7 @@ class KotlinCoroutinesTest {
|
|||
|
||||
// Check whether concurrent coroutines leak context
|
||||
@Test
|
||||
@DelicateCoroutinesApi
|
||||
fun stressTest() {
|
||||
val context1 = Context.root().with(ANIMAL, "cat")
|
||||
runBlocking(context1.asContextElement()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue