Subject: | tests fail on parallel invocation |
When Net::Server's test suite is run under a harness configured to run the tests in parallel, we see failues due to port conflicts in the individual test files (e.g. 20200 and 20201 are used everywhere).
e.g.:
athena 1363888163.3190/Net-Server-2.007 » export TEST_HARNESS=j10
rsrchboy at athena in ~/.cpanm/work/1363888163.3190/Net-Server-2.007
athena 1363888163.3190/Net-Server-2.007 » make test
PERL_DL_NONLAZY=1 /home/rsrchboy/perl5/perlbrew/perls/perl-5.16.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Server_Multiplex.t ...... ok
t/Server_Fork.t ........... ok
t/Server_BASE.t ........... ok
t/Server_INET.t ........... ok
t/Options.t ............... ok
t/Server_MultiType.t ...... ok
t/Port_Configuration.t .... ok
t/Server_Single.t ......... ok
t/Server_http.t ........... ok
t/Server_PreFork.t ........ ok
t/Server_PreForkSimple.t .. ok
t/UDP_test.t .............. ok
t/UNIX_test.t ............. ok
t/SSLEAY_test.t ........... ok
t/SSL_test.t .............. Failed 1/5 subtests
Test Summary Report
-------------------
t/SSL_test.t (Wstat: 0 Tests: 5 Failed: 1)
Failed test: 5
Files=15, Tests=185, 5 wallclock secs ( 0.08 usr 0.00 sys + 0.77 cusr 0.12 csys = 0.97 CPU)
Result: FAIL