Add disable-MultithreadedInitializationTest.patch
Markus Koschany
7 years ago
0 | From: Markus Koschany <apo@debian.org> | |
1 | Date: Fri, 26 Aug 2016 16:56:20 +0200 | |
2 | Subject: disable MultithreadedInitializationTest | |
3 | ||
4 | Debian-Bug: https://bugs.debian.org/834913 | |
5 | Forwarded: no | |
6 | --- | |
7 | .../test/java/org/slf4j/helpers/MultithreadedInitializationTest.java | 4 ++-- | |
8 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
9 | ||
10 | diff --git a/slf4j-api/src/test/java/org/slf4j/helpers/MultithreadedInitializationTest.java b/slf4j-api/src/test/java/org/slf4j/helpers/MultithreadedInitializationTest.java | |
11 | index 435d2bd..40af6e5 100644 | |
12 | --- a/slf4j-api/src/test/java/org/slf4j/helpers/MultithreadedInitializationTest.java | |
13 | +++ b/slf4j-api/src/test/java/org/slf4j/helpers/MultithreadedInitializationTest.java | |
14 | @@ -27,7 +27,7 @@ abstract public class MultithreadedInitializationTest { | |
15 | ||
16 | int diff = new Random().nextInt(10000); | |
17 | ||
18 | - @Test | |
19 | + /*@Test | |
20 | public void multiThreadedInitialization() throws InterruptedException, BrokenBarrierException { | |
21 | @SuppressWarnings("unused") | |
22 | LoggerAccessingThread[] accessors = harness(); | |
23 | @@ -44,7 +44,7 @@ abstract public class MultithreadedInitializationTest { | |
24 | ||
25 | assertTrue(expectedEventCount + " >= " + recordedEventCount, expectedEventCount >= recordedEventCount); | |
26 | assertTrue(expectedEventCount + " < " + recordedEventCount + "+" + LENIENCY_COUNT, expectedEventCount < recordedEventCount + LENIENCY_COUNT); | |
27 | - } | |
28 | + }*/ | |
29 | ||
30 | abstract protected long getRecordedEventCount(); | |
31 |