Skip to content

Conversation

@loiclefevre
Copy link
Contributor

@loiclefevre loiclefevre commented Sep 10, 2025

This PR enables Parallel Testing for OTP.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-19762

*/
private static int getRunningID() {
// enable parallelization of up to GRADLE_MAXIMUM_PARALLEL_FORKS
final Integer maxParallelForks = Integer.valueOf( System.getProperty( GRADLE_MAXIMUM_PARALLEL_FORKS, "1" ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note test

Potential uncaught 'java.lang.NumberFormatException'.
private static int getRunningID() {
// enable parallelization of up to GRADLE_MAXIMUM_PARALLEL_FORKS
final Integer maxParallelForks = Integer.valueOf( System.getProperty( GRADLE_MAXIMUM_PARALLEL_FORKS, "1" ) );
final Integer worker = Integer.valueOf( System.getProperty( GRADLE_WORKER_ID, "1" ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note test

Potential uncaught 'java.lang.NumberFormatException'.
@beikov
Copy link
Member

beikov commented Sep 12, 2025

Superseded by #10925
Thanks :)

@beikov beikov closed this Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants