aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/gen_server_SUITE.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2012-10-03 10:48:30 +0200
committerDan Gudmundsson <[email protected]>2012-10-30 16:13:14 +0100
commitba2f96b118d80db32bbe192751309c6aa3342373 (patch)
tree39351b8e7317d12cb5cc7b244aaca657bf1d5780 /lib/stdlib/test/gen_server_SUITE.erl
parent78dfecc0eff5cdba9c84c55f250fdf6e9dfd6f32 (diff)
downloadotp-ba2f96b118d80db32bbe192751309c6aa3342373.tar.gz
otp-ba2f96b118d80db32bbe192751309c6aa3342373.tar.bz2
otp-ba2f96b118d80db32bbe192751309c6aa3342373.zip
stdlib: Fix test timeouts in cover runs
Diffstat (limited to 'lib/stdlib/test/gen_server_SUITE.erl')
-rw-r--r--lib/stdlib/test/gen_server_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib/test/gen_server_SUITE.erl b/lib/stdlib/test/gen_server_SUITE.erl
index 2abb01ba24..dffeadb423 100644
--- a/lib/stdlib/test/gen_server_SUITE.erl
+++ b/lib/stdlib/test/gen_server_SUITE.erl
@@ -1046,8 +1046,9 @@ call_with_huge_message_queue(Config) when is_list(Config) ->
io:format("Time for empty message queue: ~p", [Time]),
io:format("Time for huge message queue: ~p", [NewTime]),
+ IsCover = test_server:is_cover(),
case (NewTime+1) / (Time+1) of
- Q when Q < 10 ->
+ Q when Q < 10; IsCover ->
ok;
Q ->
io:format("Q = ~p", [Q]),