On Fri, 24 Jan 2014 11:47:14 +0100, Luc Maisonobe wrote:
Le 24/01/2014 11:25, Apache Continuum a écrit :
****************************************************************************
Test Failures:
****************************************************************************
KohonenTrainingTaskTest
testTravellerSalesmanSquareTourSequentialSolver :
java.lang.AssertionError
java.lang.AssertionError: expected:<1.0> but
was:<0.8686291501015241>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:494)
at org.junit.Assert.assertEquals(Assert.java:592)
at
org.apache.commons.math3.ml.neuralnet.sofm.KohonenTrainingTaskTest.testTravellerSalesmanSquareTourSequentialSolver(KohonenTrainingTaskTest.java:74)
This test is failing quite frequently since a few days. The
TravellingSalesmanSolver class creates a Well44497b random generator
but
does not allow to set the seed, it always use current time for the
seed.
Would it be possible to have user specify a seed and make sure the
test
initializes it?
I'm working on this.
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org