aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/distribution_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-05-31 15:06:02 +0200
committerLukas Larsson <[email protected]>2016-06-14 09:55:38 +0200
commitd01f67ffaefbfc6cad980f0d58f38891c674c652 (patch)
tree8c2c09a240b4e8f75304be4b47d52d8b0d122ab3 /erts/emulator/test/distribution_SUITE.erl
parent59fa8124370d63dc810ff27dde3f20d2aa6fc523 (diff)
downloadotp-d01f67ffaefbfc6cad980f0d58f38891c674c652.tar.gz
otp-d01f67ffaefbfc6cad980f0d58f38891c674c652.tar.bz2
otp-d01f67ffaefbfc6cad980f0d58f38891c674c652.zip
erts: fix atom_roundtrip_r15b tc
if node fails to start, just skip testcase
Diffstat (limited to 'erts/emulator/test/distribution_SUITE.erl')
-rw-r--r--erts/emulator/test/distribution_SUITE.erl11
1 files changed, 7 insertions, 4 deletions
diff --git a/erts/emulator/test/distribution_SUITE.erl b/erts/emulator/test/distribution_SUITE.erl
index d0096fb1bc..258ae57e18 100644
--- a/erts/emulator/test/distribution_SUITE.erl
+++ b/erts/emulator/test/distribution_SUITE.erl
@@ -1037,10 +1037,13 @@ atom_roundtrip_r15b(Config) when is_list(Config) ->
ct:timetrap({minutes, 6}),
AtomData = atom_data(),
verify_atom_data(AtomData),
- {ok, Node} = start_node(Config, [], "r15b"),
- do_atom_roundtrip(Node, AtomData),
- stop_node(Node),
- ok;
+ case start_node(Config, [], "r15b") of
+ {ok, Node} ->
+ do_atom_roundtrip(Node, AtomData),
+ stop_node(Node);
+ {error, timeout} ->
+ {skip,"Unable to start OTP R15B release"}
+ end;
false ->
{skip,"No OTP R15B available"}
end.