Skip to content

Commit 4242ead

Browse files
committed
Added stress test filter
1 parent db2ba73 commit 4242ead

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

krpc/krpc-test/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ tasks.withType<KotlinJvmTest> {
8484
// lincheck agent
8585
jvmArgs("-XX:+EnableDynamicAgentLoading")
8686
environment("LIBRARY_VERSION", libs.versions.kotlinx.rpc.get())
87+
88+
if (project.hasProperty("stressTests") && project.property("stressTests") == "true") {
89+
include("kotlinx/rpc/krpc/test/stress/**")
90+
} else {
91+
exclude("kotlinx/rpc/krpc/test/stress/**")
92+
}
8793
}
8894

8995
val resourcesPath = projectDir.resolve("src/jvmTest/resources")

0 commit comments

Comments
 (0)