diff --git a/.mise/lib/jmx_exporter_compat.py b/.mise/lib/jmx_exporter_compat.py index 600c9578c7..8a7b54a033 100755 --- a/.mise/lib/jmx_exporter_compat.py +++ b/.mise/lib/jmx_exporter_compat.py @@ -153,8 +153,8 @@ def run_maven_test( prom_version = get_prom_version() # Build the full reactor (including the integration_test_suite) the same way # run-quick-test.sh does, but against our locally installed io.prometheus - # artifacts. The pinned distribution env vars keep this to the quick (single - # cell) matrix rather than the full smoke-test matrix. + # artifacts. This PR check intentionally runs only one representative smoke + # test; the pinned distribution env vars also keep it to a single matrix cell. env = {**os.environ, **quick_test_images(jmx_exporter_dir)} cmd = [ "./mvnw", @@ -162,6 +162,7 @@ def run_maven_test( "clean", "install", f"-Dprometheus.metrics.version={prom_version}", + "-Dparamixel.match.class.regex=io.prometheus.jmx.test.core.BasicTest", f"-Dparamixel.parallelism={os.cpu_count() or 1}", "-Djacoco.skip=true", ] diff --git a/mise.toml b/mise.toml index 3df59dc0af..ad8ee00f63 100644 --- a/mise.toml +++ b/mise.toml @@ -74,10 +74,10 @@ run = "./mvnw install -DskipTests -Dcoverage.skip=true" [tasks.native-test] description = "Run GraalVM native tests" -depends = "build" tools.java = "oracle-graalvm-25" # Native Test uses Surefire, so explicitly select the Failsafe-named test class. run = ''' +./mvnw -pl integration-tests/it-spring-boot-smoke-test -am install -DskipTests -Dcoverage.skip=true cd "$MISE_CONFIG_ROOT/integration-tests/it-spring-boot-smoke-test" "$MISE_CONFIG_ROOT/mvnw" test -PnativeTest -Dtest=ApplicationIT '''