diff options
author | Anders Svensson <[email protected]> | 2016-06-11 08:28:41 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2016-06-11 08:28:41 +0200 |
commit | f027ac4d0f1d522e3b3d5c4695baf42a5cdd5330 (patch) | |
tree | 5ad4a775aab432b7d8a83bdfc66318234942c73d /lib/diameter/test/diameter_util.erl | |
parent | 78eeb8b231791c23c40ea6c653ef2962bc52ba6f (diff) | |
parent | 80dc4f14b21cf316a8000f91cd77b1f0653afa7c (diff) | |
download | otp-f027ac4d0f1d522e3b3d5c4695baf42a5cdd5330.tar.gz otp-f027ac4d0f1d522e3b3d5c4695baf42a5cdd5330.tar.bz2 otp-f027ac4d0f1d522e3b3d5c4695baf42a5cdd5330.zip |
Merge branch 'anders/diameter/19/listen/OTP-13611'
* anders/diameter/19/listen/OTP-13611:
Fix leaking transports in traffic/relay suites
Close listening sockets at transport removal
Don't restart transport processes after transport removal
Rename diameter_reg:del -> remove
Add diameter_reg:subscribe/2
Add dialyzer specs to diameter_reg
Remove diameter_reg:repl/2
Remove diameter_reg bloat
Diffstat (limited to 'lib/diameter/test/diameter_util.erl')
-rw-r--r-- | lib/diameter/test/diameter_util.erl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/diameter/test/diameter_util.erl b/lib/diameter/test/diameter_util.erl index 52b747e99c..f26f1e999a 100644 --- a/lib/diameter/test/diameter_util.erl +++ b/lib/diameter/test/diameter_util.erl @@ -345,11 +345,12 @@ transport(SvcName, Ref) -> disconnect(Client, Ref, Server, LRef) -> true = diameter:subscribe(Server), ok = diameter:remove_transport(Client, Ref), - ok = receive - {diameter_event, Server, {down, LRef, _, _}} -> ok - after 10000 -> - {Client, Ref, Server, LRef, process_info(self(), messages)} - end. + receive + {diameter_event, Server, {down, LRef, _, _}} -> + ok + after 10000 -> + {Client, Ref, Server, LRef, process_info(self(), messages)} + end. %% --------------------------------------------------------------------------- |