bvolpato opened a new pull request, #40864: URL: https://github.com/apache/beam/pull/40864
Twister2's local test runner shares fixed worker ports and process-wide state between pipelines. Beam's parallel JUnit runner currently starts several validation methods at once, which can interfere during graph construction. [This CI run](https://github.com/apache/beam/actions/runs/40597360346) failed in `DAGMutableGraph.nodes()` before reaching the job timeout. Set `beam.validatesRunner.parallelThreads=1` for the Twister2 batch validation task. This serializes its `ValidatesRunner` methods while retaining the existing test selection and general test-thread setting. In an isolated container network, the default parallel run reproduced the same graph-iteration stack. The same selected pipeline and assertion cases passed with the new setting. Evaluated Gradle settings and live worker threads confirmed the change. The full scheduled suite and its timeout behavior remain unverified locally. <!-- Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily: - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). - [x] Replace these instructions with a description of your change and why you have made it. - [ ] Mention the appropriate issue in your description (for example: `addresses #123` or `fixes #456`). - [ ] Update `CHANGES.md` with noteworthy changes. See [CONTRIBUTING.md]() for more details. --> -- 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]
