From 1cb0b6db4733b5ab89b116bdf29157ba5a5b712f Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Tue, 4 Jun 2024 12:22:33 -0500 Subject: [PATCH] ref(test): Disable kotest classpath autoscan This change reduces test execution time by about 1 min (30%) on my machine. Since the update to kotest 5.9 the following warning gets printed during tests: Warning: Kotest autoscan is enabled. This means Kotest will scan the classpath for extensions that are annotated with @AutoScan. To avoid this startup cost, disable autoscan by setting the system property 'kotest.framework.classpath.scanning.autoscan.disable=true'. In 6.0 this value will default to true. For further details see https://kotest.io/docs/next/framework/project-config.html#runtime-detection --- jitsi-media-transform/pom.xml | 3 +++ jvb/pom.xml | 1 + rtp/pom.xml | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/jitsi-media-transform/pom.xml b/jitsi-media-transform/pom.xml index 0bab23ca28..e54a3cfb26 100644 --- a/jitsi-media-transform/pom.xml +++ b/jitsi-media-transform/pom.xml @@ -240,6 +240,9 @@ maven-surefire-plugin 3.2.5 + + true + DtlsStackTest.* diff --git a/jvb/pom.xml b/jvb/pom.xml index 6a6286f058..ae99679c63 100644 --- a/jvb/pom.xml +++ b/jvb/pom.xml @@ -468,6 +468,7 @@ ${project.basedir}/lib/logging.properties + true diff --git a/rtp/pom.xml b/rtp/pom.xml index fae009cca3..63e8a7b2a5 100644 --- a/rtp/pom.xml +++ b/rtp/pom.xml @@ -173,6 +173,11 @@ maven-surefire-plugin 3.2.5 + + + true + + com.github.gantsign.maven