commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject Re: svn commit: r1591631 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/NetworkTest.java
Date Thu, 01 May 2014 12:55:37 GMT
On Thu, 01 May 2014 12:14:14 -0000, tn@apache.org wrote:
> Author: tn
> Date: Thu May  1 12:14:14 2014
> New Revision: 1591631
>
> URL: http://svn.apache.org/r1591631
> Log:
> Disable randomly failing unit test.
>
> Modified:
>
> 
> commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/NetworkTest.java
>
> Modified:
> 
> commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/NetworkTest.java
> URL:
> 
> http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/NetworkTest.java?rev=1591631&r1=1591630&r2=1591631&view=diff
> 
> ==============================================================================
> ---
> 
> commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/NetworkTest.java
> (original)
> +++
> 
> commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/NetworkTest.java
> Thu May  1 12:14:14 2014
> @@ -17,21 +17,18 @@
>
>  package org.apache.commons.math3.ml.neuralnet;
>
> -import java.io.ByteArrayOutputStream;
>  import java.io.ByteArrayInputStream;
> -import java.io.ObjectOutputStream;
> -import java.io.ObjectInputStream;
> +import java.io.ByteArrayOutputStream;
>  import java.io.IOException;
> -import java.util.ArrayList;
> -import java.util.HashSet;
> +import java.io.ObjectInputStream;
> +import java.io.ObjectOutputStream;
>  import java.util.Collection;
>  import java.util.NoSuchElementException;
> -import org.junit.Test;
> +
> +import 
> org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D;
>  import org.junit.Assert;
>  import org.junit.Ignore;
> -import org.apache.commons.math3.exception.NumberIsTooSmallException;
> -import 
> org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D;
> -import org.apache.commons.math3.random.Well44497b;
> +import org.junit.Test;
>
>  /**
>   * Tests for {@link Network}.
> @@ -110,6 +107,7 @@ public class NetworkTest {
>      }
>
>      @Test
> +    @Ignore // to be fixed, fails randomly
>      public void testIterationOrder() {
>          final FeatureInitializer[] initArray = { init };
>          final Network net = new NeuronSquareMesh2D(4, false,

How does it fail? How often? On which archtecture?
Here, I couldn't get a single failure out of more than 20 runs.
Please provide a stack trace.


Gilles


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


Mime
View raw message