diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_tests.erl | 7 |
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), |
