Subject: | Timing test occasionally fails |
We smoke your module every night as part of our build system. Every so often it does this:
Building TAP-Formatter-JUnit
GTERMARS/TAP-Formatter-JUnit-0.08.tar.gz
./Build -- OK
Running Build test
t/formatter.t ......... ok
t/passing-todos.t ..... ok
t/pod-coverage.t ...... skipped: Test::Pod::Coverage 1.00 required for testing POD
t/pod.t ............... skipped: Test::Pod 1.00 required for testing POD
t/tap2junit-filter.t .. ok
t/tap2junit-name.t .... ok
t/tap2junit.t ......... ok
# foo
# bar
# foobar
# Failed test '... test timing: slept 2 seconds'
# at t/timer.t line 118.
# got: '1'
# expected: '2'
# Looks like you failed 1 test of 14.
t/timer.t .............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/14 subtests
I see from CPAN testers we're not the only ones that have this problem.