You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "remeio (via GitHub)" <gi...@apache.org> on 2023/04/13 15:26:04 UTC
[GitHub] [commons-lang] remeio opened a new pull request, #1051: ThreadUtilsTest#testThreadGroups will test failed when using Junint5 parallel test
remeio opened a new pull request, #1051:
URL: https://github.com/apache/commons-lang/pull/1051
When running `testThreadGroups` and `testThreadGroupsById` in two threads, they have the same thread group name, will cause `testThreadGroups` test failed, such as `assertEquals(1, ThreadUtils.findThreadGroupsByName("thread_group_DDZZ99__").size());`->`expected:` 1, actual: 2`.
[Junit5 writing-tests-parallel-execution-config](https://junit.org/junit5/docs/current/user-guide/#writing-tests-parallel-execution-config)
```
junit.jupiter.execution.parallel.enabled=true
junit.jupiter.execution.parallel.mode.default=concurrent
junit.jupiter.execution.parallel.mode.classes.default=concurrent
```
--
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: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [commons-lang] garydgregory merged pull request #1051: ThreadUtilsTest#testThreadGroups will test failed when using Junit5 parallel test
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory merged PR #1051:
URL: https://github.com/apache/commons-lang/pull/1051
--
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: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org