Skip to content

Commit d2f1710

Browse files
author
Tibor Digana
committed
1E3 -> 1000, 1E2 -> 100
1 parent 4df3e81 commit d2f1710

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/test/java/org/junit/runner/notification/ConcurrentRunNotifierTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public void reportConcurrentFailuresAfterAddListener() throws InterruptedExcepti
207207

208208
int totalListenersFailures = 0;
209209

210-
final ExaminedListener[] examinedListeners = new ExaminedListener[(int) 1E3];
210+
final ExaminedListener[] examinedListeners = new ExaminedListener[1000];
211211
for (int i = 0; i < examinedListeners.length; ++i) {
212212
boolean fail = StrictMath.random() >= 0.5d;
213213
if (fail) ++totalListenersFailures;
@@ -260,7 +260,7 @@ public void reportConcurrentFailuresAfterAddFirstListener() throws InterruptedEx
260260

261261
int totalListenersFailures = 0;
262262

263-
final ExaminedListener[] examinedListeners = new ExaminedListener[(int) 1E2];
263+
final ExaminedListener[] examinedListeners = new ExaminedListener[100];
264264
for (int i = 0; i < examinedListeners.length; ++i) {
265265
boolean fail = StrictMath.random() >= 0.5d;
266266
if (fail) ++totalListenersFailures;

0 commit comments

Comments
 (0)