[erlang-questions] Cluster Functional test using Slave Nodes

Scott Lystig Fritchie fritchie@REDACTED
Mon Aug 4 03:00:44 CEST 2014


marcos quesada <marcos.quesadas@REDACTED> wrote:

mq> **error:{assertEqual_failed,
mq>     [{module,cluster_test},
mq>      {line,43},
mq>      {expression,"Result1"},
mq>      {expected,ok},
mq>      {value,
mq>          {badrpc,
mq>              {'EXIT',
mq>                  {undef,
mq>                      [{cluster,join,[...],...},
mq>                       {rpc,'-handle_call_call/6-fun-0-',...}]}}}}]}

Have you found the cause of this error?  If I had to guess, the slave
node's code_server doesn't know the path to your cluster.beam module.
If that's true, then appending ["-pz", PathToYourModule] to the Args
list of slave:start/3 can correct it.

-Scott



More information about the erlang-questions mailing list