aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/lcnt_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-12-02 16:56:55 +0100
committerBjörn Gustavsson <[email protected]>2011-12-02 16:59:35 +0100
commit6e36ca17f9c36a420702c683f1e09c2b7daa58bc (patch)
tree53d65ec737cab68b24fad43658525c11dcbb4107 /lib/tools/test/lcnt_SUITE.erl
parentb0fc970c36bca30fb590b32589c7951f0ca7a04b (diff)
downloadotp-6e36ca17f9c36a420702c683f1e09c2b7daa58bc.tar.gz
otp-6e36ca17f9c36a420702c683f1e09c2b7daa58bc.tar.bz2
otp-6e36ca17f9c36a420702c683f1e09c2b7daa58bc.zip
lcnt_SUITE: Be kind to slow machines
Bump the value for timetrap timeout, and also call lcnt:stop/0 in end_per_testcase/2 so that failure in one test case will not cause all the following to fail.
Diffstat (limited to 'lib/tools/test/lcnt_SUITE.erl')
-rw-r--r--lib/tools/test/lcnt_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tools/test/lcnt_SUITE.erl b/lib/tools/test/lcnt_SUITE.erl
index f2afa60e33..1bee6021ab 100644
--- a/lib/tools/test/lcnt_SUITE.erl
+++ b/lib/tools/test/lcnt_SUITE.erl
@@ -34,7 +34,7 @@
]).
%% Default timetrap timeout (set in init_per_testcase)
--define(default_timeout, ?t:minutes(2)).
+-define(default_timeout, ?t:minutes(4)).
init_per_suite(Config) when is_list(Config) ->
Config.
@@ -49,6 +49,7 @@ init_per_testcase(_Case, Config) ->
end_per_testcase(_Case, Config) ->
Dog = ?config(watchdog, Config),
?t:timetrap_cancel(Dog),
+ catch lcnt:stop(),
ok.
suite() -> [{ct_hooks,[ts_install_cth]}].