In one of our tests, we're enabling 10 schedulers in parallel and some times the test fails to enable some of those scheduler with
Caused by: org.forgerock.json.resource.NotFoundException: Object scheduler/jobGroups/scheduler-service-group not found in scheduler/jobGroups
See the full stack in attached log.
Name of the test: concurrent_enable_should_not_throw_PreconditionFailedException
To run the automated test:
./run-pybot -t concurrent_enable_should_not_throw_PreconditionFailedException openidm
Note: The test does not fail every time. The issue appears randomly.