summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2014-01-30 12:41:16 +0000
committerTim Watson <tim@rabbitmq.com>2014-01-30 12:41:16 +0000
commit839faa45c948bfdb6cb17562c3e31febae2e7176 (patch)
treee5961c25b6fe4ce94023dc0f1e278dad45a258c4
parent289ad50c1cbd2a42a49883f00a99eed0662aaa34 (diff)
downloadrabbitmq-server-git-839faa45c948bfdb6cb17562c3e31febae2e7176.tar.gz
Don't reinvent the wheel
-rw-r--r--src/rabbit_tests.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 8c60e9e334..1acff12728 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -1366,8 +1366,7 @@ test_mcall() ->
register(bog, spawn(fun gs2_test_crasher/0)),
global:register_name(gbaz, spawn(fun gs2_test_crasher/0)),
- {ok, Hostname} = inet:gethostname(),
- NoNode = list_to_atom("nonode@" ++ Hostname),
+ NoNode = rabbit_nodes:make("nonode"),
Targets =
%% pids