aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-04-08 15:57:19 +0200
committerSiri Hansen <[email protected]>2014-04-09 16:58:40 +0200
commit0281a17101095800a9bc538821bf01b7045d8cc1 (patch)
tree7cfe3fa8967e8a7c9c17058302a16845ee9d2b35 /lib/reltool/test
parentdc48952a651aaea4682848e674f7ad30e441146d (diff)
downloadotp-0281a17101095800a9bc538821bf01b7045d8cc1.tar.gz
otp-0281a17101095800a9bc538821bf01b7045d8cc1.tar.bz2
otp-0281a17101095800a9bc538821bf01b7045d8cc1.zip
[reltool] Increase timetrap timeout to handle slow test machines
Diffstat (limited to 'lib/reltool/test')
-rw-r--r--lib/reltool/test/reltool_test_lib.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/reltool/test/reltool_test_lib.erl b/lib/reltool/test/reltool_test_lib.erl
index 530d0a9985..fa12f19aa7 100644
--- a/lib/reltool/test/reltool_test_lib.erl
+++ b/lib/reltool/test/reltool_test_lib.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2009-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2009-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -20,12 +20,13 @@
-compile(export_all).
-include("reltool_test_lib.hrl").
+-define(timeout, 20). % minutes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
init_per_suite(Config) when is_list(Config)->
global:register_name(reltool_global_logger, group_leader()),
- incr_timetrap(Config, 10).
+ incr_timetrap(Config, ?timeout).
end_per_suite(Config) when is_list(Config)->
global:unregister_name(reltool_global_logger),
@@ -51,7 +52,7 @@ set_kill_timer(Config) ->
Time =
case lookup_config(tc_timeout, Config) of
[] ->
- timer:minutes(10);
+ timer:minutes(?timeout);
ConfigTime when is_integer(ConfigTime) ->
ConfigTime
end,