Subject: | race condition in t/45-buffereduploads.t |
that test is failing from time to time....
whereas in a next run it can ( or not succeed )
# prove -v -Ilib t/45-buffereduploads.t
t/45-buffereduploads.t ..
ok 1 - webserver started
beginning run
ok 2 - perlbal started
ok 3 - no files in buffer directory
ok 4 - buffer_off: good response
ok 5 - buffer_off: no buffer reason
ok 6 - buffer_off: no file
ok 7 - buffer_on_size: buffer file exists
ok 8 - buffer_on_size: good response
ok 9 - buffer_on_size: did buffer for size
ok 10 - buffer_on_size: no file
ok 11 - no_buffer_on_size: no file
ok 12 - no_buffer_on_size: good response
ok 13 - no_buffer_on_size: no buffer reason
ok 14 - no_buffer_on_size: no file
ok 15 - clean_on_early_close: buffer file exists
ok 16 - clean_on_early_close: no file
ok 17 - buffer_on_rate: no file
ok 18 - buffer_on_rate: buffer file exists
ok 19 - buffer_on_rate: good response
ok 20 - buffer_on_rate: did buffer for rate
ok 21 - buffer_on_rate: no file
ok 22 - no_buffer_on_rate: good response
not ok 23 - no_buffer_on_rate: no buffer reason
# Failed test 'no_buffer_on_rate: no buffer reason'
# at t/45-buffereduploads.t line 207.
ok 24 - no_buffer_on_rate: no file
ok 25 - buffer_on_time: buffer file exists
ok 26 - buffer_on_time: good response
ok 27 - buffer_on_time: did buffer for time
ok 28 - buffer_on_time: no file
not ok 29 - no_buffer_on_time: no file
# Failed test 'no_buffer_on_time: no file'
# at t/45-buffereduploads.t line 223.
ok 30 - no_buffer_on_time: good response
not ok 31 - no_buffer_on_time: no buffer reason
# Failed test 'no_buffer_on_time: no buffer reason'
# at t/45-buffereduploads.t line 207.
1..31
# Looks like you failed 3 tests of 31.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/31 subtests
Test Summary Report
-------------------
t/45-buffereduploads.t (Wstat: 768 Tests: 31 Failed: 3)
Failed tests: 23, 29, 31
Non-zero exit status: 3
Files=1, Tests=31, 9 wallclock secs ( 0.02 usr 0.00 sys + 0.09 cusr 0.01 csys = 0.12 CPU)
Result: FAIL