commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: [continuum] BUILD FAILURE: Apache Commons - Commons Math -
Date Mon, 24 Dec 2012 21:46:25 GMT
On Mon, Dec 24, 2012 at 01:30:49PM +0000, Continuum@vmbuild wrote:
>           Group (shared) Maven 2 Build Definition (Java 1.5)
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> X-Continuum-Build-Host: vmbuild
> X-Continuum-Project-Id: 97
> X-Continuum-Project-Name: Commons Math
> 
> Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=25566&projectId=97
> 
> [...]
> 
> ****************************************************************************
> Test Failures:
> ****************************************************************************
> 
> ValueServerTest
>     testNextDigest :
>   java.lang.AssertionError
>   java.lang.AssertionError: mean expected:<5.069831575018909> but was:<5.179499249515934>
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.junit.Assert.failNotEquals(Assert.java:647)
> 	at org.junit.Assert.assertEquals(Assert.java:443)
> 	at org.apache.commons.math3.random.ValueServerTest.testNextDigest(ValueServerTest.java:76)
> [...]

Can I add the "Retry" annotation on that test, or are we happy that it fails
from time to time and that the CI system reports an expected, from time to
time, failure?

The alternative is to use a "ValueServer" constructor with an explicit
"RandomGenerator" argument (and seed that makes the test pass).


Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message