diff options
author | Anders Svensson <[email protected]> | 2015-01-25 10:36:01 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-02-20 02:23:38 +0100 |
commit | 14f17215949846a889bf9448e1040401e3655381 (patch) | |
tree | cda8054bb81791e7ea01c58034c7e5d2513d3fad | |
parent | ce062c0e079c8b43ba0ea74f9cc97dd1e01c6aad (diff) | |
download | otp-14f17215949846a889bf9448e1040401e3655381.tar.gz otp-14f17215949846a889bf9448e1040401e3655381.tar.bz2 otp-14f17215949846a889bf9448e1040401e3655381.zip |
Don't orphan slave nodes in example suite
Stops were aborted at the first failure.
-rw-r--r-- | lib/diameter/test/diameter_examples_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/test/diameter_examples_SUITE.erl b/lib/diameter/test/diameter_examples_SUITE.erl index aef4bc35ef..dc0b466b59 100644 --- a/lib/diameter/test/diameter_examples_SUITE.erl +++ b/lib/diameter/test/diameter_examples_SUITE.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2013-2014. All Rights Reserved. +%% Copyright Ericsson AB 2013-2015. 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 @@ -397,4 +397,4 @@ stop(Name) stop(Config) -> Prot = proplists:get_value(group, Config), - [] = [RC || N <- ?NODES, RC <- [stop(concat(Prot, N))], RC /= ok]. + [] = [RC || N <- ?NODES, RC <- [catch stop(concat(Prot, N))], RC /= ok]. |