File tree 1 file changed +2
-2
lines changed
src/test/java/org/junit/runner/notification
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ public void reportConcurrentFailuresAfterAddListener() throws InterruptedExcepti
207
207
208
208
int totalListenersFailures = 0 ;
209
209
210
- final ExaminedListener [] examinedListeners = new ExaminedListener [( int ) 1E3 ];
210
+ final ExaminedListener [] examinedListeners = new ExaminedListener [1000 ];
211
211
for (int i = 0 ; i < examinedListeners .length ; ++i ) {
212
212
boolean fail = StrictMath .random () >= 0.5d ;
213
213
if (fail ) ++totalListenersFailures ;
@@ -260,7 +260,7 @@ public void reportConcurrentFailuresAfterAddFirstListener() throws InterruptedEx
260
260
261
261
int totalListenersFailures = 0 ;
262
262
263
- final ExaminedListener [] examinedListeners = new ExaminedListener [( int ) 1E2 ];
263
+ final ExaminedListener [] examinedListeners = new ExaminedListener [100 ];
264
264
for (int i = 0 ; i < examinedListeners .length ; ++i ) {
265
265
boolean fail = StrictMath .random () >= 0.5d ;
266
266
if (fail ) ++totalListenersFailures ;
You can’t perform that action at this time.
0 commit comments