diff options
author | Anders Svensson <anders@erlang.org> | 2013-03-08 18:30:15 +0100 |
---|---|---|
committer | Anders Svensson <anders@erlang.org> | 2013-03-17 15:07:00 +0100 |
commit | ecebd37eb5e874e307812373c072f685455a2eee (patch) | |
tree | 3f03f415f3bb987e2e3bf5c1a0706ec661d5b3bb /lib/diameter | |
parent | d70a02e7415caccd13fad8dda417d0d18a112a83 (diff) | |
download | otp-ecebd37eb5e874e307812373c072f685455a2eee.tar.gz otp-ecebd37eb5e874e307812373c072f685455a2eee.tar.bz2 otp-ecebd37eb5e874e307812373c072f685455a2eee.zip |
Specify timeouts to ct_slave:start/2
Diffstat (limited to 'lib/diameter')
-rw-r--r-- | lib/diameter/test/diameter_distribution_SUITE.erl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/diameter/test/diameter_distribution_SUITE.erl b/lib/diameter/test/diameter_distribution_SUITE.erl index 08b0870730..01d3507b27 100644 --- a/lib/diameter/test/diameter_distribution_SUITE.erl +++ b/lib/diameter/test/diameter_distribution_SUITE.erl @@ -97,6 +97,11 @@ {client1, ?CLIENT}, {client2, ?CLIENT}]). +%% Options to ct_slave:start/2. +-define(TIMEOUTS, [{T, 15000} || T <- [boot_timeout, + init_timeout, + start_timeout]]). + %% =========================================================================== suite() -> @@ -130,7 +135,7 @@ enslave(Config) -> [] = [{T,S} || {{_,E} = T, S} <- Nodes, E /= ok]. slave(Name, Dirs) -> - add_pathsa(Dirs, ct_slave:start(Name)). + add_pathsa(Dirs, ct_slave:start(Name, ?TIMEOUTS)). add_pathsa(Dirs, {ok, Node}) -> {Node, rpc:call(Node, code, add_pathsa, [Dirs])}; |