aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2018-10-03 15:14:22 +0200
committerRaimo Niskanen <[email protected]>2018-10-03 15:14:22 +0200
commit18a742fa6d52999d0ba415330ba2168caaeb1256 (patch)
tree17decb9c034c351d335882adca2b1d73346520d1
parent133572e2cf8c74c1d1f0a7486fd0713e7e486c58 (diff)
parent39b149e051dd957f336187f038a0f444871e026a (diff)
downloadotp-18a742fa6d52999d0ba415330ba2168caaeb1256.tar.gz
otp-18a742fa6d52999d0ba415330ba2168caaeb1256.tar.bz2
otp-18a742fa6d52999d0ba415330ba2168caaeb1256.zip
Merge branch 'raimo/test-cuddling' into maint
* raimo/test-cuddling: Decrease probability for failed histogram
-rw-r--r--lib/stdlib/test/rand_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib/test/rand_SUITE.erl b/lib/stdlib/test/rand_SUITE.erl
index d753d929f5..b76c9f5341 100644
--- a/lib/stdlib/test/rand_SUITE.erl
+++ b/lib/stdlib/test/rand_SUITE.erl
@@ -475,10 +475,11 @@ stats_standard_normal_box_muller_2(Config) when is_list(Config) ->
stats_standard_normal(Config) when is_list(Config) ->
+ Retries = 7,
try math:erfc(1.0) of
_ ->
stats_standard_normal(
- fun rand:normal_s/1, rand:seed_s(exrop), 3)
+ fun rand:normal_s/1, rand:seed_s(exrop), Retries)
catch error:_ ->
{skip, "math:erfc/1 not supported"}
end.