Author: psteitz Date: Mon May 28 03:22:28 2012 New Revision: 1343132 URL: http://svn.apache.org/viewvc?rev=1343132&view=rev Log: Reverted r1343083 commit. Tests using secure random generators can't use fixed seeds. I forgot the default retry was 2, so retry infrastructure was still being used.
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/random/RandomDataTest.java Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/random/RandomDataTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/random/RandomDataTest.java?rev=1343132&r1=1343131&r2=1343132&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/random/RandomDataTest.java (original) +++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/random/RandomDataTest.java Mon May 28 03:22:28 2012 @@ -21,6 +21,8 @@ import java.util.ArrayList; import java.util.HashSet; import java.util.List; +import org.apache.commons.math3.Retry; +import org.apache.commons.math3.RetryRunner; import org.apache.commons.math3.TestUtils; import org.apache.commons.math3.distribution.BetaDistribution; import org.apache.commons.math3.distribution.BinomialDistribution; @@ -46,6 +48,7 @@ import org.apache.commons.math3.util.Fas import org.apache.commons.math3.exception.MathIllegalArgumentException; import org.junit.Assert; import org.junit.Test; +import org.junit.runner.RunWith; /** * Test cases for the RandomData class. @@ -53,7 +56,7 @@ import org.junit.Test; * @version $Id$ * 2009) $ */ - +@RunWith(RetryRunner.class) public class RandomDataTest { public RandomDataTest() {