mirror of https://github.com/qos-ch/slf4j
clearer assertion take II
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
This commit is contained in:
parent
dd4486b5c5
commit
982e4b067f
|
|
@ -41,8 +41,7 @@ abstract public class MultithreadedInitializationTest {
|
|||
long expectedEventCount = eventCount.get() + extraLogEvents();
|
||||
|
||||
assertTrue(expectedEventCount + " >= " + recordedEventCount, expectedEventCount >= recordedEventCount);
|
||||
assertTrue(expectedEventCount + " < " + recordedEventCount + "+" + LENIENCY_COUNT, expectedEventCount < (recordedEventCount + LENIENCY_COUNT));
|
||||
}
|
||||
assertTrue("unmet condition: " + expectedEventCount + " < " + recordedEventCount + "+" + LENIENCY_COUNT, expectedEventCount < (recordedEventCount + LENIENCY_COUNT)); }
|
||||
|
||||
abstract protected long getRecordedEventCount();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue