vgosain-psg commented on PR #1146: URL: https://github.com/apache/tomcat/pull/1146#issuecomment-6928635246
Thank you both for the thorough review. All feedback has been addressed — summary below. **From @csutherl:** - The `TestHostConfigAutomaticDeploymentA/B/C` fix has been split into its own first commit. - "Proof of concept" language removed from both BUILDING.txt and changelog.xml. - `test-smoke-category` target and its duplicated `<junit>` config removed entirely. - `SmokeSuite.java` removed. The annotation is now the single source of truth — `CategoryScanner` discovers annotated classes at build time and feeds the result into `test.name` so the existing `batchtest` / `runtests` macro handles execution unchanged. **From @dsoumis (round 2):** - `fork="true"` added to the `<java>` task. - `System.exit` replaced with `throw new IllegalArgumentException`. - Load failures in `scanDir` now throw `RuntimeException` instead of being swallowed. **From @dsoumis (round 3):** - `depends="test-compile"` removed from `-test-categories`; the target is now listed after `test-compile` in both `test-nio` and `test-only-nio`, so `ant test-only -Dtest.profile=smoke` works correctly against already-compiled classes. - `logError="true"` added to prevent forked JVM stderr from bleeding into `test.name`. - Scanner throws `IllegalStateException` on empty results to prevent Ant falling back to `**/Test*.java`. - Scanner now filters to concrete `Test*` classes only: excludes `Tester*` by name, excludes abstract classes via `Modifier.isAbstract()`, and skips stale `.class` files whose `.java` source no longer exists (source dir passed as a third argument). - BUILDING.txt corrected: performance tests are not excluded by default; the properties-file claim updated to note the smoke profile is annotation-driven. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
