aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-03-26 14:09:56 +0200
committerPeter Andersson <[email protected]>2012-03-26 14:09:56 +0200
commit0ec49ecd7b6acf95329aaafa1bc0796d0f41cc66 (patch)
tree895d12726cfb43fdaa565541b27da3ece2a3f597 /lib/common_test
parent67ccf96bb7b430e691509a45299eeee1ca5f27c5 (diff)
downloadotp-0ec49ecd7b6acf95329aaafa1bc0796d0f41cc66.tar.gz
otp-0ec49ecd7b6acf95329aaafa1bc0796d0f41cc66.tar.bz2
otp-0ec49ecd7b6acf95329aaafa1bc0796d0f41cc66.zip
Increase test margin for user timetraps
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/test/ct_test_support.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/test/ct_test_support.erl b/lib/common_test/test/ct_test_support.erl
index 62c167d78b..a712ab6cb9 100644
--- a/lib/common_test/test/ct_test_support.erl
+++ b/lib/common_test/test/ct_test_support.erl
@@ -1013,8 +1013,8 @@ result_match({SkipOrFail,{ErrorInd,{EMod,EFunc,{Why,'_'}}}},
true;
result_match({failed,{timetrap_timeout,{'$approx',Num}}},
{failed,{timetrap_timeout,Value}}) ->
- if Value >= trunc(Num-0.01*Num),
- Value =< trunc(Num+0.01*Num) -> true;
+ if Value >= trunc(Num-0.02*Num),
+ Value =< trunc(Num+0.02*Num) -> true;
true -> false
end;
result_match(Result, Result) ->