perl-Workflow-1.41-2.fc22 fails to build randomly in F22. 'One observation sent on workflow fetch to two observers' t/workflow.t test sometimes fails: t/validator_matches_date_format.t .. ok # Failed test 'One observation sent on workflow fetch to two observers' # at t/workflow.t line 80. # got: '4' # expected: '2' # Looks like you failed 1 test of 37. t/workflow.t ....................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/37 subtests First, I thought this was caused by upgrading perl-DateTime (from 1.10) and perl-DateTime-TimeZone. But the random failure occurs even with these old versions. So I conclude this is race in the test or in some of used modules. It's reproducible with command: Workflow-1.41$ (prove -b -v t/workflow.t); do :;done
Correct command: Workflow-1.41$ while (prove -b -v t/workflow.t); do :; done
Given that this issue is an upstream bug more than it is a packaging issue, I'll be keeping track of it in CPAN's RT. Accordingly, I'm closing this bug with the resolution of UPSTREAM.