Hi all,<div><br></div><div>a very simple CT test takes forever to boot.</div><div><br></div><div><br></div><div><font face="courier new, monospace">%%%%%% Module %%%%%%%%%</font></div><div><font face="courier new, monospace"><br>
</font></div><div><div><font face="courier new, monospace">-module(mymodule).</font></div><div><font face="courier new, monospace">-export([greetings/1]).</font></div><div><font face="courier new, monospace"><br></font></div>
<div><font face="courier new, monospace">greetings(Text) -></font></div><div><font face="courier new, monospace"><span class="Apple-tab-span" style="white-space:pre">     </span>lists:flatten(io_lib:format("~s world!", [Text])).</font></div>
<div><font face="courier new, monospace"><br></font></div></div><div><div><font face="courier new, monospace">%%%%%%%%%%%%%%%%%%%%%%%</font></div></div><div><span style="font-family:'courier new',monospace"><br></span></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">%%%%%% CT test %%%%%%%%</font></div><div><font face="courier new, monospace"><br></font></div><div><div><font face="courier new, monospace">-module(mymodule_SUITE).</font></div>
<div><font face="courier new, monospace">-include_lib("common_test/include/ct.hrl").</font></div><div><font face="courier new, monospace">-export([all/0]).</font></div><div><font face="courier new, monospace">-export([greetings_test/1]).</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">all() -></font></div><div><font face="courier new, monospace"><span class="Apple-tab-span" style="white-space:pre">     </span>[greetings_test].</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">greetings_test(_Config) -></font></div><div><font face="courier new, monospace"><span class="Apple-tab-span" style="white-space:pre">   </span>"hello world!" = mymodule:</font><span style="font-family:'courier new',monospace">greetings</span><span style="font-family:'courier new',monospace">("hello"),</span></div>
<div><font face="courier new, monospace"><span class="Apple-tab-span" style="white-space:pre">  </span>"goodbye world!" = mymodule:greetings("goodbye").</font></div></div><div><font face="courier new, monospace"><br>
</font></div><div><span style="font-family:'courier new',monospace">%%%%%%%%%%%%%%%%%%%%%%%</span></div><div><br></div><div><br></div><div>Here's the log:</div><div><br></div><div>==================</div><div>
<pre style="word-wrap:break-word;white-space:pre-wrap">=== Suite started at 2012-09-23 17:22:24
=== Starting test, 1 test cases
=cases         1
=user          roberto
=host          robertos-MacBook-Pro.local
=hosts         robertos-MacBook-Pro.local 
=emulator_vsn  5.9.1
=emulator      beam
=otp_release   R15B01
=started       2012-09-23 17:22:<b>24</b>
=case          ct_framework:init_per_suite
=logfile       ct_framework.init_per_suite.html
=group_props   [{suite,mymodule_SUITE}]
=started       2012-09-23 17:22:<b>44</b>
=ended         2012-09-23 17:22:44
=result        ok
=elapsed       1.0e-6
=case          mymodule_SUITE:greetings_test
=logfile       mymodule_suite.greetings_test.html
=started       2012-09-23 17:22:44
=ended         2012-09-23 17:22:44
=result        ok
=elapsed       3.1e-4
=case          ct_framework:end_per_suite
=logfile       ct_framework.end_per_suite.html
=group_props   [{suite,mymodule_SUITE}]
=started       2012-09-23 17:22:44
=ended         2012-09-23 17:22:44
=result        ok
=elapsed       1.0e-6
=group_time    0.054s
=== TEST COMPLETE, 1 ok, 0 failed of 1 test cases

=finished      2012-09-23 17:22:44
=failed        0
=successful    1
=user_skipped  0
=auto_skipped  0</pre></div><div><div>==================</div><div><br></div></div><div>it literally takes 20 seconds before the first (and only) test is run. Any ideas why?</div><div><br></div><div>Thank you,</div><div>
<br></div><div>r.</div>