: This failure looks impossible to me - docsSent, an AtomicInteger 
: initialized at 0 with only .incrementAndGet() and .get() called on it, 
: should never be less than zero - I don’t have Java9 but this does not 
: reproduce with Java8:

It wouldn't have to be less then zero -- if the value was zero this same 
IllegalArgumentException would be thrown from Random.nextInt.

AS for why the value would still be zero by the time it gets to that line 
... no idea.  This test is pretty light on logging / exception handling. 


: > On May 30, 2016, at 9:44 AM, Policeman Jenkins Server <[email protected]> 
wrote:
: > 
: > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/16869/
: > Java: 64bit/jdk-9-ea+120 -XX:-UseCompressedOops -XX:+UseG1GC
: > 
: > FAILED:  
org.apache.solr.cloud.DistributedVersionInfoTest.testReplicaVersionHandling
: > 
: > Error Message:
: > Captured an uncaught exception in thread: Thread[id=11139, 
name=Thread-3542, state=RUNNABLE, group=TGRP-DistributedVersionInfoTest]
: > 
: > Stack Trace:
: > com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an 
uncaught exception in thread: Thread[id=11139, name=Thread-3542, 
state=RUNNABLE, group=TGRP-DistributedVersionInfoTest]
: >     at 
__randomizedtesting.SeedInfo.seed([C143D2FAB9AFC4F3:1DBA05001BD40EB2]:0)
: > Caused by: java.lang.IllegalArgumentException: bound must be positive
: >     at __randomizedtesting.SeedInfo.seed([C143D2FAB9AFC4F3]:0)
: >     at java.util.Random.nextInt(java.base@9-ea/Random.java:388)
: >     at 
org.apache.solr.cloud.DistributedVersionInfoTest$3.run(DistributedVersionInfoTest.java:204)
: 
: 
: 
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: [email protected]
: For additional commands, e-mail: [email protected]
: 
: 

-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to