MATH-1387: adding RetryRunner to RandomUtilsDataGeneratorAbstractTest
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/b9cd3558 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/b9cd3558 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/b9cd3558 Branch: refs/heads/master Commit: b9cd3558133ae9f26aec73e0bda3a8f635d137f7 Parents: 47f3057 Author: Rob Tompkins <[email protected]> Authored: Sun Oct 9 16:09:55 2016 -0400 Committer: Rob Tompkins <[email protected]> Committed: Sun Oct 9 16:09:55 2016 -0400 ---------------------------------------------------------------------- .../math4/random/RandomUtilsDataGeneratorAbstractTest.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/b9cd3558/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorAbstractTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorAbstractTest.java b/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorAbstractTest.java index f24a266..59170d4 100644 --- a/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorAbstractTest.java +++ b/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorAbstractTest.java @@ -23,6 +23,7 @@ import java.util.List; import java.util.Random; import java.util.List; +import org.apache.commons.math4.RetryRunner; import org.apache.commons.math4.TestUtils; import org.apache.commons.math4.exception.MathIllegalArgumentException; import org.apache.commons.math4.stat.Frequency; @@ -31,10 +32,12 @@ import org.apache.commons.math4.util.FastMath; import org.apache.commons.rng.UniformRandomProvider; import org.junit.Assert; import org.junit.Test; +import org.junit.runner.RunWith; /** * Test cases for the {@link RandomUtils#DataGenerator} class. */ +@RunWith(RetryRunner.class) public abstract class RandomUtilsDataGeneratorAbstractTest { private final long smallSampleSize = 1000; private final double[] expected = { 250, 250, 250, 250 };
