aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/node_container_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-08 21:01:40 +0100
committerBjörn-Egil Dahlberg <[email protected]>2016-03-11 15:43:11 +0100
commit9b6b82abfaae479849902ba60c4c54a526840a03 (patch)
tree4e96855cb8ab6bea70bca7f46c4ab1fdbd72a618 /erts/emulator/test/node_container_SUITE.erl
parentc062dfc485ad0d51d648701950f77ef8f51d4f35 (diff)
downloadotp-9b6b82abfaae479849902ba60c4c54a526840a03.tar.gz
otp-9b6b82abfaae479849902ba60c4c54a526840a03.tar.bz2
otp-9b6b82abfaae479849902ba60c4c54a526840a03.zip
Eliminate use of test_server:fail/0,1
Diffstat (limited to 'erts/emulator/test/node_container_SUITE.erl')
-rw-r--r--erts/emulator/test/node_container_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/test/node_container_SUITE.erl b/erts/emulator/test/node_container_SUITE.erl
index 30f75b4cbc..3bf1e207de 100644
--- a/erts/emulator/test/node_container_SUITE.erl
+++ b/erts/emulator/test/node_container_SUITE.erl
@@ -953,7 +953,7 @@ nc_refc_check(Node) when is_atom(Node) ->
receive
{Ref, ErrorMsg, failed} ->
?t:format("~s~n", [ErrorMsg]),
- ?t:fail(reference_count_check_failed);
+ ct:fail(reference_count_check_failed);
{Ref, succeded} ->
?t:format("Reference count check of node ~w succeded!~n", [Node]),
ok
@@ -1035,7 +1035,7 @@ get_node_references({NodeName, Creation} = Node) when is_atom(NodeName),
DistRefs,
fun (ErrMsg) ->
?t:format("~s", [ErrMsg]),
- ?t:fail(reference_count_check_failed)
+ ct:fail(reference_count_check_failed)
end),
find_references(Node, NodeRefs).
@@ -1047,7 +1047,7 @@ get_dist_references(NodeName) when is_atom(NodeName) ->
DistRefs,
fun (ErrMsg) ->
?line ?t:format("~s", [ErrMsg]),
- ?line ?t:fail(reference_count_check_failed)
+ ?line ct:fail(reference_count_check_failed)
end),
?line find_references(NodeName, DistRefs).