From 76a5eedf33ab375fea1e834e4d5708cdf0e507f4 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Tue, 28 Jun 2016 09:53:35 +0200 Subject: ssl: All started test nodes must be cleaned up Function to stop SSL/TLS node may not exit as a test case will start more than one node and all nodes must be stopped. --- lib/ssl/test/ssl_dist_SUITE.erl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/ssl/test/ssl_dist_SUITE.erl') diff --git a/lib/ssl/test/ssl_dist_SUITE.erl b/lib/ssl/test/ssl_dist_SUITE.erl index 55aa2eda2d..8740e8c8f0 100644 --- a/lib/ssl/test/ssl_dist_SUITE.erl +++ b/lib/ssl/test/ssl_dist_SUITE.erl @@ -680,13 +680,15 @@ stop_ssl_node(#node_handle{connection_handler = Handler, receive {'DOWN', Mon, process, Handler, Reason} -> case Reason of - normal -> ok; - _ -> exit(Reason) + normal -> + ok; + _ -> + ct:pal("Down ~p ~n", [Reason]) end end; Error -> erlang:demonitor(Mon, [flush]), - exit(Error) + ct:pal("Warning ~p ~n", [Error]) end. start_ssl_node(Config) -> -- cgit v1.2.3