[ISSUE] Wrong testcase
mashirro opened this issue · 2 comments
mashirro commented
Article and Module Links
https://www.baeldung.com/java-semaphore
Describe the Issue
in Section 4:Semaphore vs. Mutex。 test whenMutexAndMultipleThreads_thenBlocked and givenMutexAndMultipleThreads_ThenDelay_thenCorrectCount
assertTrue(counter.hasQueuedThreads()); occurs java.lang.AssertionError。
Environment (please complete the following information):
- Version 17
apeterlic commented
Hey @mashirro,
Thank you for the feedback. Have you made any custom modifications in the code?
Regards,
Team.
apeterlic commented
Closed due to lack of activity.