Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 98994
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 4.028
Fixed in: 4.030_01



Subject: Tests fail when run in parallel
If I run the test suite with `prove -jN` or `HARNESS_OPTIONS=jN make test`, the test suite fails. See attached output, but this one was particularly worrying: t/40blobs.t .......................... ok ===( 526;1 45/111 41/41 31/78 21/25 20/21 13/25 18/3... )=== # Failed test 'id set to 1' # at t/40bindparam.t line 94. # got: '0' # expected: '1' # Failed test '$name set to Alligator Descartes' # at t/40bindparam.t line 95. # got: 'oZfnGSLdBDMrjPY2V' # expected: 'Alligator Descartes' # Failed test 'id set to 2' # at t/40bindparam.t line 98. # got: '1' # expected: '2' # Failed test '$name set to Tim Bunce' # at t/40bindparam.t line 99. # got: '1st first value' # expected: 'Tim Bunce' # Failed test 'id set to 3' # at t/40bindparam.t line 102. # got: '1' # expected: '3' # Failed test '$name set to Jochen Wiedmann' # at t/40bindparam.t line 103. # got: 'Alligator Descartes' # expected: 'Jochen Wiedmann' # Failed test 'id set to 4' # at t/40bindparam.t line 106. # got: '1' # expected: '4' # Failed test '$name set to Andreas Koenig' # at t/40bindparam.t line 107. # got: 'BXRrjsg7jARBNVyhn' # expected: 'Andreas Koenig' # Failed test 'id set to 5' # at t/40bindparam.t line 110. # got: '2' # expected: '5' # Failed test 'name not defined' # at t/40bindparam.t line 111. # Failed test 'id set to 6' # at t/40bindparam.t line 114. # got: '2' # expected: '6' # Failed test '$name set to '?'' # at t/40bindparam.t line 115. # got: 'Tim Bunce' # expected: '?' # Failed test '$id set to 7' # at t/40bindparam.t line 118. # got: '2' # expected: '7' # Failed test '$name set to '?'' # at t/40bindparam.t line 119. # got: 'uHVxkaUFFmzf6ogDT' # expected: '?' # Looks like you failed 14 tests of 41. t/40bindparam.t ...................... Dubious, test returned 14 (wstat 3584, 0xe00)
Subject: make-test
Download make-test
application/octet-stream 3.3k

Message body not shown because it is not plain text.

Subject: parallel-make-test
Download parallel-make-test
application/octet-stream 8.1k

Message body not shown because it is not plain text.

Subject: parallel-make-test-2
Download parallel-make-test-2
application/octet-stream 9.1k

Message body not shown because it is not plain text.

Subject: parallel-prove
Download parallel-prove
application/octet-stream 6.9k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 262b
Thanks for your bug report. I've fixed the test suite so there are no longer issues when running in parallel. If you'd be able to I'd really like it if you could try out dev release 4.030_01 from CPAN and let me know if this fixes the issues for you. -- Michiel


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.