diff options
author | Peter Andersson <[email protected]> | 2012-03-26 14:09:56 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2012-03-26 14:09:56 +0200 |
commit | 0ec49ecd7b6acf95329aaafa1bc0796d0f41cc66 (patch) | |
tree | 895d12726cfb43fdaa565541b27da3ece2a3f597 /lib | |
parent | 67ccf96bb7b430e691509a45299eeee1ca5f27c5 (diff) | |
download | otp-0ec49ecd7b6acf95329aaafa1bc0796d0f41cc66.tar.gz otp-0ec49ecd7b6acf95329aaafa1bc0796d0f41cc66.tar.bz2 otp-0ec49ecd7b6acf95329aaafa1bc0796d0f41cc66.zip |
Increase test margin for user timetraps
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common_test/test/ct_test_support.erl | 4 |
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) -> |