Skip to content

Commit a64e4da

Browse files
committed
Do not filter out stress tests from IDEA
1 parent e2a72a0 commit a64e4da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kotlinx-coroutines-core/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ jvmTest {
7676
maxHeapSize = '1g'
7777
enableAssertions = true
7878
systemProperty 'java.security.manager', 'kotlinx.coroutines.TestSecurityManager'
79-
exclude '**/*StressTest.*'
79+
// 'stress' is required to be able to run all subpackage tests like ":jvmTests --tests "*channels*" -Pstress=true"
80+
if (!project.ext.ideaActive && rootProject.properties['stress'] == null) {
81+
exclude '**/*StressTest.*'
82+
}
8083
systemProperty 'kotlinx.coroutines.scheduler.keep.alive.sec', '100000' // any unpark problem hangs test
8184
}
8285

0 commit comments

Comments
 (0)