aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-06-15 15:14:15 +0200
committerSiri Hansen <[email protected]>2016-06-22 16:04:59 +0200
commita4d32149bc15a9f250e87c195ed385001dd0a2c6 (patch)
tree3be0b8ab816f6640f963cb5e90aba4aea190c085
parentbd5066b6dbb2ed4a5b96f84f29feedc1481481b7 (diff)
downloadotp-a4d32149bc15a9f250e87c195ed385001dd0a2c6.tar.gz
otp-a4d32149bc15a9f250e87c195ed385001dd0a2c6.tar.bz2
otp-a4d32149bc15a9f250e87c195ed385001dd0a2c6.zip
[sasl test] Extend wait time when starting nodes
release_handler_SUITE waits for a maximum of 30 sec when starting a node. On slow machines we have seen that startup time sometimes exceed this so the maximum is now extended to 2 minutes.
-rw-r--r--lib/sasl/test/release_handler_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sasl/test/release_handler_SUITE.erl b/lib/sasl/test/release_handler_SUITE.erl
index ad58bb6b7b..1469813a81 100644
--- a/lib/sasl/test/release_handler_SUITE.erl
+++ b/lib/sasl/test/release_handler_SUITE.erl
@@ -1920,7 +1920,7 @@ wait_nodes_up(Nodes, Tag) ->
wait_nodes_up(Nodes0, Tag, Apps) ->
?t:format("wait_nodes_up(~p, ~p, ~p):",[Nodes0, Tag, Apps]),
Nodes = fix_nodes(Nodes0),
- wait_nodes_up(Nodes, Tag, lists:umerge(Apps,[kernel,stdlib,sasl]), 30).
+ wait_nodes_up(Nodes, Tag, lists:umerge(Apps,[kernel,stdlib,sasl]), 60).
fix_nodes([{Node,InitPid}|Nodes]) ->
[{Node,InitPid} | fix_nodes(Nodes)];
@@ -1962,7 +1962,7 @@ wait_nodes_up(Nodes, Tag, Apps, N) ->
?t:format("",[]),
ok;
_ ->
- timer:sleep(1000),
+ timer:sleep(2000),
wait_nodes_up(Pang, Tag, Apps, N-1)
end.