aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-04-02 17:58:14 +0200
committerSiri Hansen <[email protected]>2014-04-03 11:17:42 +0200
commit10f7058251f6992db460c4378d465f43cd6b14a1 (patch)
tree0d4a43ae98f3240ea6299720bd00410a32fd81b3 /lib/sasl/test
parent8b7ed9a291692b1f4858ecdf9b2b340403ce2564 (diff)
downloadotp-10f7058251f6992db460c4378d465f43cd6b14a1.tar.gz
otp-10f7058251f6992db460c4378d465f43cd6b14a1.tar.bz2
otp-10f7058251f6992db460c4378d465f43cd6b14a1.zip
Stop nodes after test cases in release_handler_SUITE
Test cases 'release_handler_which_releases' and 'upgrade_supervisor' did not terminate the nodes they started. This might be the cause of failing test cases further down the suite. This has been corrected.
Diffstat (limited to 'lib/sasl/test')
-rw-r--r--lib/sasl/test/release_handler_SUITE.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sasl/test/release_handler_SUITE.erl b/lib/sasl/test/release_handler_SUITE.erl
index 55a467a4d5..1d8bf45289 100644
--- a/lib/sasl/test/release_handler_SUITE.erl
+++ b/lib/sasl/test/release_handler_SUITE.erl
@@ -667,6 +667,9 @@ release_handler_which_releases(Conf) ->
ok.
+release_handler_which_releases(cleanup,_Conf) ->
+ stop_node(node_name(release_handler_which_releases)).
+
%%-----------------------------------------------------------------
%% Ticket: OTP-2740
%% Slogan: vsn not numeric doesn't work so good in release_handling
@@ -1365,6 +1368,9 @@ upgrade_supervisor(Conf) when is_list(Conf) ->
ok.
+upgrade_supervisor(cleanup,_Condf) ->
+ stop_node(node_name(upgrade_supervisor)).
+
%% Check that if the supervisor fails, then the upgrade is rolled back
%% and an ok error message is returned
upgrade_supervisor_fail(Conf) when is_list(Conf) ->