aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test/diameter_failover_SUITE.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-05-25 09:41:47 +0200
committerAnders Svensson <[email protected]>2014-05-25 09:41:47 +0200
commite6c124ad7515f4b50cca8bd7ba4744ec8c1ef09c (patch)
tree7fedd3ceb85869760a708995e49951bb801b9b1c /lib/diameter/test/diameter_failover_SUITE.erl
parentfcd95cafef819a0950c315e32d9f5fcba7ebf0fb (diff)
parent6202139d7680be7df2fc5a6d6138409c1ae780d6 (diff)
downloadotp-e6c124ad7515f4b50cca8bd7ba4744ec8c1ef09c.tar.gz
otp-e6c124ad7515f4b50cca8bd7ba4744ec8c1ef09c.tar.bz2
otp-e6c124ad7515f4b50cca8bd7ba4744ec8c1ef09c.zip
Merge branch 'maint'
Conflicts: erts/vsn.mk
Diffstat (limited to 'lib/diameter/test/diameter_failover_SUITE.erl')
-rw-r--r--lib/diameter/test/diameter_failover_SUITE.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/diameter/test/diameter_failover_SUITE.erl b/lib/diameter/test/diameter_failover_SUITE.erl
index dfd3253827..c1494dcdb1 100644
--- a/lib/diameter/test/diameter_failover_SUITE.erl
+++ b/lib/diameter/test/diameter_failover_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2014. 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
@@ -47,6 +47,7 @@
send_discard_1/1,
send_discard_2/1,
stop_services/1,
+ empty/1,
stop/1]).
%% diameter callbacks
@@ -121,6 +122,7 @@ all() ->
send_discard_1,
send_discard_2,
stop_services,
+ empty,
stop].
%% ===========================================================================
@@ -147,6 +149,10 @@ stop_services(_Config) ->
T <- [diameter:stop_service(H)],
T /= ok].
+%% Ensure transports have been removed from request table.
+empty(_Config) ->
+ [] = ets:tab2list(diameter_request).
+
stop(_Config) ->
ok = diameter:stop().