aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test/diameter_util.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-26 09:47:01 +0200
committerAnders Svensson <[email protected]>2012-08-26 09:48:54 +0200
commit942bd62d9b83f2697b25de0be1f452d9dff4cefa (patch)
tree9e21d2aafa02ec6cfea47831558f6ce1df46e047 /lib/diameter/test/diameter_util.erl
parentbde27ba6edd16e1892318f7354d0b1956859a7c4 (diff)
downloadotp-942bd62d9b83f2697b25de0be1f452d9dff4cefa.tar.gz
otp-942bd62d9b83f2697b25de0be1f452d9dff4cefa.tar.bz2
otp-942bd62d9b83f2697b25de0be1f452d9dff4cefa.zip
Lighten up on timetraps in test suites
Some look to be optimistic when running in slow virtual environments. (With bad time keeping?)
Diffstat (limited to 'lib/diameter/test/diameter_util.erl')
-rw-r--r--lib/diameter/test/diameter_util.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/test/diameter_util.erl b/lib/diameter/test/diameter_util.erl
index c3f5cbf0e2..38073e9916 100644
--- a/lib/diameter/test/diameter_util.erl
+++ b/lib/diameter/test/diameter_util.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2012. 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
@@ -279,7 +279,7 @@ connect(Client, Prot, LRef, Opts) ->
Ref = add_transport(Client, {connect, opts(Prot, PortNr) ++ Opts}),
ok = receive
{diameter_event, Client, {up, Ref, _, _, _}} -> ok
- after 2000 ->
+ after 10000 ->
{Client, Prot, PortNr, process_info(self(), messages)}
end,
Ref.
@@ -295,7 +295,7 @@ disconnect(Client, Ref, Server, LRef) ->
ok = diameter:remove_transport(Client, Ref),
ok = receive
{diameter_event, Server, {down, LRef, _, _}} -> ok
- after 2000 ->
+ after 10000 ->
{Client, Ref, Server, LRef, process_info(self(), messages)}
end.