diff options
author | Björn Gustavsson <[email protected]> | 2016-02-26 06:47:38 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-18 08:10:36 +0200 |
commit | 87c18e235cbcce8edc19d3bb154bf0cfa51a7c62 (patch) | |
tree | 2e9641facc0c409e74e14648c40c3d482f2110a3 /lib/debugger/test/debugger_SUITE.erl | |
parent | 6c9822baad0ad7e0c535a023b45cee24619b301e (diff) | |
download | otp-87c18e235cbcce8edc19d3bb154bf0cfa51a7c62.tar.gz otp-87c18e235cbcce8edc19d3bb154bf0cfa51a7c62.tar.bz2 otp-87c18e235cbcce8edc19d3bb154bf0cfa51a7c62.zip |
Modernize use of timetraps
Either rely on the default 30 minutes timetrap, or set the timeout
using the supported methods in common_test.
Diffstat (limited to 'lib/debugger/test/debugger_SUITE.erl')
-rw-r--r-- | lib/debugger/test/debugger_SUITE.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/debugger/test/debugger_SUITE.erl b/lib/debugger/test/debugger_SUITE.erl index 66d1b04f5c..6ffa5f7ef4 100644 --- a/lib/debugger/test/debugger_SUITE.erl +++ b/lib/debugger/test/debugger_SUITE.erl @@ -31,7 +31,9 @@ app_test/1,appup_test/1,erts_debug/1,encrypted_debug_info/1, no_abstract_code/1]). -suite() -> [{ct_hooks,[ts_install_cth]}]. +suite() -> + [{ct_hooks,[ts_install_cth]}, + {timetrap,{minutes,1}}]. all() -> [app_test, appup_test, erts_debug, no_abstract_code, @@ -54,11 +56,9 @@ end_per_group(_GroupName, Config) -> init_per_testcase(_Case, Config) -> - Dog=test_server:timetrap(?t:minutes(0.5)), - [{watchdog, Dog}|Config]. -end_per_testcase(_Case, Config) -> - Dog=?config(watchdog, Config), - test_server:timetrap_cancel(Dog), + Config. + +end_per_testcase(_Case, _Config) -> ok. app_test(Config) when is_list(Config) -> |