This module should not exist as it has nothing to do with XMPP nor is it needed by Escalus itself.
The module contains RPC helpers which used to rely on Common Test, but do not do so anymore.call/6 | Emulate ct_rpc:call/6 but do not rely on Common Test. |
call(Node, Module, Function, Args, TimeOut, Cookie) -> any()
Emulate ct_rpc:call/6
but do not rely on Common Test.
call/6
takes a Cookie
as the last parameter,
so that nodes with different cookies can be easily called.
However, this function is not safe (and neither is the original ct_rpc:call/6
)
in a concurrent environment as it gets/sets the cookie
with erlang:get_cookie/0
and erlang:set_cookie/1
.
Interleaving these calls in concurrent processes is prone to race conditions.
Generated by EDoc