mirror of
https://github.com/apache/commons-math.git
synced 2025-02-12 13:06:06 +00:00
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.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1343132 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
58966065ed
commit
03d011748d
@ -21,6 +21,8 @@ import java.util.ArrayList;
|
|||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
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.TestUtils;
|
||||||
import org.apache.commons.math3.distribution.BetaDistribution;
|
import org.apache.commons.math3.distribution.BetaDistribution;
|
||||||
import org.apache.commons.math3.distribution.BinomialDistribution;
|
import org.apache.commons.math3.distribution.BinomialDistribution;
|
||||||
@ -46,6 +48,7 @@ import org.apache.commons.math3.util.FastMath;
|
|||||||
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
import org.apache.commons.math3.exception.MathIllegalArgumentException;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test cases for the RandomData class.
|
* Test cases for the RandomData class.
|
||||||
@ -53,7 +56,7 @@ import org.junit.Test;
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
* 2009) $
|
* 2009) $
|
||||||
*/
|
*/
|
||||||
|
@RunWith(RetryRunner.class)
|
||||||
public class RandomDataTest {
|
public class RandomDataTest {
|
||||||
|
|
||||||
public RandomDataTest() {
|
public RandomDataTest() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user