gnodet opened a new pull request, #22301:
URL: https://github.com/apache/camel/pull/22301

   ## Summary
   
   - Kubernetes plugin tests (`KubernetesRunTest`, `KubernetesRunCustomTest`) 
create
     `.camel-jbang-run/<project>/` directories in the module root via 
`KubernetesRun.doCall()`
     but never clean them up. These leftover directories can cause ENOENT race 
conditions
     when docs gulp scans the source tree concurrently with `**` globs.
   - Add `@AfterAll` cleanup in `KubernetesBaseTestSupport` and 
`KubernetesRunCustomTest`
     that removes only each class's own project subdirectories (not the shared 
parent),
     so test classes can run concurrently without interfering with each other.
   
   ## Test plan
   
   - [x] `mvn test -B -pl dsl/camel-jbang/camel-jbang-plugin-kubernetes` — all 
128 tests pass
   - [x] No leftover `.camel-jbang-run/` subdirectories after test run
   - [x] Formatting clean (`mvn formatter:format impsort:sort`)


-- 
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]

Reply via email to