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_traffic_SUITE.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_traffic_SUITE.erl')
-rw-r--r-- | lib/diameter/test/diameter_traffic_SUITE.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/diameter/test/diameter_traffic_SUITE.erl b/lib/diameter/test/diameter_traffic_SUITE.erl index 976abf9138..6f3a4801ee 100644 --- a/lib/diameter/test/diameter_traffic_SUITE.erl +++ b/lib/diameter/test/diameter_traffic_SUITE.erl @@ -428,7 +428,11 @@ remove_transports(Config) -> server_service = SN} = group(Config), [LRef | Cs] = ?util:read_priv(Config, "transport"), - [?util:disconnect(CN, C, SN, LRef) || C <- Cs]. + try + [] = [T || C <- Cs, T <- [?util:disconnect(CN, C, SN, LRef)], T /= ok] + after + ok = diameter:remove_transport(SN, LRef) + end. stop_services(Config) -> #group{client_service = CN, |