aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_test_support.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-01-23 16:28:19 +0100
committerSiri Hansen <[email protected]>2013-01-23 16:28:19 +0100
commitf5170af4a992d6de5cd84da9cc4db4b4e073de32 (patch)
treeb7552d19bfe301a10e23ff031a2c30b0ea5655ab /lib/common_test/test/ct_test_support.erl
parentd0809964a228c6314a5bb8b5872114a0ab9ec65e (diff)
parent4aa7be58e6c1e7031042e7ea7b008de1cf4c0ad6 (diff)
downloadotp-f5170af4a992d6de5cd84da9cc4db4b4e073de32.tar.gz
otp-f5170af4a992d6de5cd84da9cc4db4b4e073de32.tar.bz2
otp-f5170af4a992d6de5cd84da9cc4db4b4e073de32.zip
Merge branch 'siri/common_test/minor_test_fixes/OTP-10483'
* siri/common_test/minor_test_fixes/OTP-10483: [common_test] Extend timetrap time in ct_hooks_SUITE [common_test] Avoid hanging ct@host node if crypto does not exist [common_test] Changed call to publick_key to use documented interface [common_test] Extend timeout values for slave nodes in ct_master_SUITE [common_test] Extend valid interval for approximate timer values in tests
Diffstat (limited to 'lib/common_test/test/ct_test_support.erl')
-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 fc572aa82f..8814570e99 100644
--- a/lib/common_test/test/ct_test_support.erl
+++ b/lib/common_test/test/ct_test_support.erl
@@ -1043,8 +1043,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.02*Num),
- Value =< trunc(Num+0.02*Num) -> true;
+ if Value >= trunc(Num-0.05*Num),
+ Value =< trunc(Num+0.05*Num) -> true;
true -> false
end;
result_match({user_timetrap_error,{Why,'_'}},