out of sequence test failure for AnyEvent::Fork::Pool

Robert Schmidt rjeschmi at gmail.com
Wed Mar 19 17:15:02 CET 2014


There seems to be some cases where t/01_basic.t will fail. This is on
a 5.18.2 perl box (pre-release ubuntu trusty).

running "make test" repeatedly sometimes results in an out-of-order
result which fails the parser:

run under prove -bv for conveniece. Whenever "ok 63" returns before
the last worker result it confuses the parser I think.

pass example:

<snip>
ok # run
ok # run
ok # return
ok 63
ok
All tests successful.
Files=2, Tests=64,  1 wallclock secs ( 0.05 usr  0.01 sys +  0.08 cusr
 0.02 csys =  0.16 CPU)
Result: PASS

fail example:

<snip>
ok # run
ok # return
ok 63
ok # run
All 63 subtests passed

Test Summary Report
-------------------
t/01_basic.t (Wstat: 0 Tests: 63 Failed: 0)
  Parse errors: Tests out of sequence.  Found (63) but expected (62)



-- 
Rob Schmidt
phone: 613-203-8529 email: rjeschmi at gmail.com



More information about the anyevent mailing list