Add a kotlin annotation to assert that we know what we're doing (#3709)

Resolves #3654
This commit is contained in:
John Watson 2021-10-07 16:44:42 -07:00 committed by GitHub
parent 0f93c3bd8e
commit 37b6807368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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()) {