aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-05-22 11:46:02 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-05-25 11:37:43 +0200
commitf0dd86ed160bbc9b4f3949a0453fdcef49f98666 (patch)
treedbe6af4a1f8091b245333c36fd504032787ec866 /lib
parent34a090c4819fb2187d9ad31652332a49ab2a7edb (diff)
downloadotp-f0dd86ed160bbc9b4f3949a0453fdcef49f98666.tar.gz
otp-f0dd86ed160bbc9b4f3949a0453fdcef49f98666.tar.bz2
otp-f0dd86ed160bbc9b4f3949a0453fdcef49f98666.zip
stdlib: Relax iterations in binary_module_SUITE:random_ref_sr_comp/1
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/test/binary_module_SUITE.erl11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/stdlib/test/binary_module_SUITE.erl b/lib/stdlib/test/binary_module_SUITE.erl
index b993076042..8d26c77c9b 100644
--- a/lib/stdlib/test/binary_module_SUITE.erl
+++ b/lib/stdlib/test/binary_module_SUITE.erl
@@ -1025,13 +1025,16 @@ random_ref_sr_comp(doc) ->
random_ref_sr_comp(Config) when is_list(Config) ->
put(success_counter,0),
random:seed({1271,769940,559934}),
- do_random_split_comp(5000,{1,40},{30,1000}),
+ Nr = {1,40},
+ Hr = {30,1000},
+ I1 = 1500,
+ do_random_split_comp(I1,Nr,Hr),
io:format("Number of successes: ~p~n",[get(success_counter)]),
- do_random_replace_comp(5000,{1,40},{30,1000}),
+ do_random_replace_comp(I1,Nr,Hr),
io:format("Number of successes: ~p~n",[get(success_counter)]),
- do_random_split_comp2(5000,{1,40},{30,1000}),
+ do_random_split_comp2(I1,Nr,Hr),
io:format("Number of successes: ~p~n",[get(success_counter)]),
- do_random_replace_comp2(5000,{1,40},{30,1000}),
+ do_random_replace_comp2(I1,Nr,Hr),
io:format("Number of successes: ~p~n",[get(success_counter)]),
ok.