summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-12-20 16:59:01 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2010-12-20 16:59:01 +0000
commitfe2f5dfa8d83f5f352c8f30d03dbc6ffdf549667 (patch)
tree32344cd105cf268a1e03d42eb06534caf1196489
parent88f30c4f8bc5aa21273e83c4abe42521a8cf5db4 (diff)
downloadrabbitmq-server-fe2f5dfa8d83f5f352c8f30d03dbc6ffdf549667.tar.gz
more typeoishness
-rw-r--r--src/rabbit_tests.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 9de46367..c13b2876 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -1258,10 +1258,11 @@ test_delegates_sync(SecondaryNode) ->
Bad = lists:usort(BadResPids),
MagicalPids = [rabbit_misc:string_to_pid(Str) ||
- Str <- ["<nonode.1.0>", "<nonode.2.0>"]],
+ Str <- ["<nonode@nohost.1.0>", "<nonode@nohost.2.0>"]],
{[], BadNodes} = delegate:invoke(MagicalPids, Sender),
- true = lists:all(fun ({_, {exit, {nodedown, nonode}, []}}) -> true end,
- BadNodes),
+ true = lists:all(
+ fun ({_, {exit, {nodedown, nonode@nohost}, _Stack}}) -> true end,
+ BadNodes),
BadNodesPids = [Pid || {Pid, _} <- BadNodes],
Magical = lists:usort(MagicalPids),