diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties new file mode 100644 index 0000000000..7293d09d6b --- /dev/null +++ b/src/test/resources/application.properties @@ -0,0 +1,4 @@ +# Bootstrap class-loading settings are read before YAML configuration. +# Keep Groovy's DFA-cache-cleaner threads from pinning per-profile classloaders. +# Share Jandex implementation classes across preparations, not application state. +quarkus.class-loading.parent-first-artifacts=org.apache.groovy:groovy,io.smallrye:jandex diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml index e95ec67199..695d25a2ac 100644 --- a/src/test/resources/application.yml +++ b/src/test/resources/application.yml @@ -9,11 +9,6 @@ quarkus: max-body-size: ${floci.protocols.max-request-size}M max-header-size: 256K max-initial-line-length: 262144 - # Groovy (a REST Assured dependency) starts DFA-cache-cleaner threads that never stop. - # Loaded parent-first they live in the shared system classloader, so they cannot pin a - # per-profile application classloader across the many app restarts of a test run. - class-loading: - parent-first-artifacts: org.apache.groovy:groovy floci: base-url: "http://localhost:4566"