dr0ps commented on PR #587:
URL: https://github.com/apache/wicket/pull/587#issuecomment-1525869235

   > You could try to make it 100% reliable with executorservice and Threadpool 
like here for a similar Testcase:
   > 
   > 
https://github.com/apache/wicket/blob/5d46ca58cc835b2ac925c14190260c6253db2c3e/wicket-spring/src/test/java/org/apache/wicket/spring/injection/bytebuddy/ParallelInjectionTest.java#L115
   
   That is just as reliable as my test. AbstractExecutorService#invokeAll uses 
a loop to execute each tests. In no way it guarantees parallel execution as in 
the end this is very much depending on the underlying OS and hardware. So for 
consistency reasons I think my test should look like the ParallelInjectionTest. 
But both tests do not actually prove the absence of a problem.


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