Configure Semaphore used in TestRequestLog to be fair

Bug: 528187
Change-Id: I26c94ad7f802fc1dbe72d63a7ea346dc6e19ff94
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2018-02-21 22:50:04 +01:00
parent 520f3af7b4
commit 152d5e2a14
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class TestRequestLog extends HandlerWrapper {
private final List<AccessEvent> events = new ArrayList<>();
private final Semaphore active = new Semaphore(MAX);
private final Semaphore active = new Semaphore(MAX, true);
/** Reset the log back to its original empty state. */
void clear() {