summaryrefslogtreecommitdiff
path: root/src
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
commitd7c90146f308efc1f686b27f0da0662f03032af7 (patch)
tree32344cd105cf268a1e03d42eb06534caf1196489 /src
parent3bf9032ccfe739749df3476da503ed8a55b69be0 (diff)
downloadrabbitmq-server-git-d7c90146f308efc1f686b27f0da0662f03032af7.tar.gz
more typeoishness
Diffstat (limited to 'src')
-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 9de463675f..c13b2876e6 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),