<div dir="ltr">All,<div>When I manually run CT with:</div><div><br></div><div><div><font face="monospace, monospace">ct_run -dir test -pa ebin</font></div></div><div><br></div><div>and print out the node the tests are running on with a simple:</div><div><br></div><div><font face="monospace, monospace">ct:pal("node = ~p", [node()]).</font></div><div><br></div><div>I get something similar to:</div><div><br></div><div><font face="monospace, monospace">'ct@robertos-mac'<br></font></div><div><br></div><div><br></div><div>However, when I run CT with rebar3 by issuing:</div><div><br></div><div><font face="monospace, monospace">rebar3 ct</font></div><div><br></div><div>Then the same command prints:</div><div><br></div><div><font face="monospace, monospace">'nonode@nohost'</font><br></div><div><br></div><div>This is ok for most tests, but since I'm testing distributed nodes with ct_slave [1] this impedes a slave to be started, as the main node is a 'nonode@nohost' and hence the slave node cannot connect to this 'nonode'.</div><div><br></div><div>If anyone wants to try this just run Syn's suite, it will fail when using rebar3 here:<br></div><div><a href="https://github.com/ostinelli/syn/blob/1.1.0/test/syn_test_suite_helper.erl#L62">https://github.com/ostinelli/syn/blob/1.1.0/test/syn_test_suite_helper.erl#L62</a><br></div><div><br></div><div>With a <font face="monospace, monospace">{{badmatch,{error,not_alive,nonode@nohost}}</font>.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thank you,</div><div>r.</div><div><br></div><div><br></div><div>[1] <a href="http://erlang.org/doc/man/ct_slave.html">http://erlang.org/doc/man/ct_slave.html</a></div></div>