Skip to content

Commit d1fb045

Browse files
committed
disable security manager in jvmTest
1 parent 65c2c9a commit d1fb045

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kotlinx-coroutines-core/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ val jvmTest by tasks.getting(Test::class) {
169169
// is invoked by IntelliJ IDEA since we need to pass
170170
// system properties for Lincheck and stress tests.
171171
// TODO Remove once IDEA is smart enough to select between `jvmTest`/`jvmStressTest`/`jvmLincheckTest` #KTIJ-599
172-
systemProperty("java.security.manager", "kotlinx.coroutines.TestSecurityManager")
172+
// TODO figure out why teamcity jobs fail with NCDFE: kotlin/text/StringsKt with this security manager
173+
//systemProperty("java.security.manager", "kotlinx.coroutines.TestSecurityManager")
173174
}
174175
// 'stress' is required to be able to run all subpackage tests like ":jvmTests --tests "*channels*" -Pstress=true"
175176
if (!Idea.active && rootProject.properties["stress"] == null) {

0 commit comments

Comments
 (0)