diff options
author | Anders Svensson <[email protected]> | 2013-04-09 15:57:19 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-04-15 10:10:02 +0200 |
commit | 96d04d58fd91062a6e5f96fbc6cce49ee325d087 (patch) | |
tree | 1e94d8f450fa4c4a2933254d96896c173b669f70 /lib/diameter/test/diameter_traffic_SUITE.erl | |
parent | ba278bc64de031a571c8c5ea01d84287c67307db (diff) | |
download | otp-96d04d58fd91062a6e5f96fbc6cce49ee325d087.tar.gz otp-96d04d58fd91062a6e5f96fbc6cce49ee325d087.tar.bz2 otp-96d04d58fd91062a6e5f96fbc6cce49ee325d087.zip |
Lighten up on suite timetraps
Due to sporadic timeouts one some (slow) hosts.
Diffstat (limited to 'lib/diameter/test/diameter_traffic_SUITE.erl')
-rw-r--r-- | lib/diameter/test/diameter_traffic_SUITE.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/diameter/test/diameter_traffic_SUITE.erl b/lib/diameter/test/diameter_traffic_SUITE.erl index e3a81b562c..e3caacd795 100644 --- a/lib/diameter/test/diameter_traffic_SUITE.erl +++ b/lib/diameter/test/diameter_traffic_SUITE.erl @@ -568,7 +568,7 @@ send_detach(Config) -> Req = ['STR', {'Termination-Cause', ?LOGOUT}], Ref = make_ref(), ok = call(Config, Req, [{extra, [{self(), Ref}]}, detach]), - Ans = receive {Ref, T} -> T after 2000 -> false end, + Ans = receive {Ref, T} -> T end, ['STA', _SessionId, {'Result-Code', ?SUCCESS} | _] = Ans. @@ -1089,7 +1089,6 @@ request(#diameter_base_STR{'Session-Id' = SId}, {'Origin-Host', OH}, {'Origin-Realm', OR}]}; -%% send_error +%% send_error/send_timeout request(#diameter_base_RAR{}, _Caps) -> - receive after 2000 -> ok end, - {protocol_error, ?TOO_BUSY}. + receive after 2000 -> {protocol_error, ?TOO_BUSY} end. |