ham1 opened a new pull request, #6868: URL: https://github.com/apache/jmeter/pull/6868
## Description The report generator creates its temp folder (`jmeter.reportgenerator.temp_dir`, default `temp`) relative to the working directory, and leaves it behind when generation fails. The dist-check tests run in `src/dist-check`, so the failing-format tests left a `src/dist-check/temp` folder there. - `ReportGeneratorTest`: sets `temp_dir` to a JUnit `@TempDir` before each test. The read-only template test now also keeps its copies under `@TempDir` instead of the system temp folder. - `HtmlReportGeneratorTest`: the `jmeter -g` subprocess gets a copy of `bin/user.properties` (via `-q`) that sets `temp_dir` to a `@TempDir`. - Removes the `/src/dist-check/temp/` line from `.gitignore`, as the folder is no longer created. ## Motivation and Context Fixes #5762 ## How Has This Been Tested? - `./gradlew :src:dist-check:test --tests '*ReportGeneratorTest'` on Java 21: 10 passed, and `src/dist-check/temp` does not exist afterwards (it did before the change). - `./gradlew :src:dist-check:autostyleKotlinCheck` passes. ## Types of changes - Test fix, no user-visible change, so no `changes.xml` entry. Generated-by: Claude Code 2.1.332 (Claude Opus 5.5) -- 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]
