Allow 1 failure in sampling tests. Thanks to Rob for finding out about this trick.
Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/2a31d876 Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/2a31d876 Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/2a31d876 Branch: refs/heads/master Commit: 2a31d8764facb77c8a3c301b0613078df8c93d13 Parents: edb3eed Author: Gilles <er...@apache.org> Authored: Sat Aug 4 20:40:12 2018 +0200 Committer: Gilles <er...@apache.org> Committed: Sat Aug 4 20:40:12 2018 +0200 ---------------------------------------------------------------------- commons-rng-sampling/pom.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-rng/blob/2a31d876/commons-rng-sampling/pom.xml ---------------------------------------------------------------------- diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml index 29c6714..66d2f48 100644 --- a/commons-rng-sampling/pom.xml +++ b/commons-rng-sampling/pom.xml @@ -66,4 +66,16 @@ </dependency> </dependencies> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.22.0</version> + <configuration> + <rerunFailingTestsCount>1</rerunFailingTestsCount> + </configuration> + </plugin> + </plugins> + </build> + </project>