Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the TAP-Formatter-TeamCity CPAN distribution.

Report information
The Basics
Id: 108670
Status: new
Priority: 0/
Queue: TAP-Formatter-TeamCity

People
Owner: thaljef [...] cpan.org
Requestors: CUBABIT [...] cpan.org
Cc: pete [...] cubabit.net
AdminCc:

Bug Information
Severity: Important
Broken in: 0.04
Fixed in: (no value)



CC: pete [...] cubabit.net
Subject: Module raises exception when prove uses multiple jobs
When I use -j2 as a parameter to prove to run tests in parallel, an exception is raised. This means the formatter can only be used to run tests in serial. Attached is a test. Here is the output: pete@perl-builder:~/scratch/tc_tap_test$ prove -lvr --formatter TAP::Formatter::TeamCity t/##teamcity[testSuiteStarted name='t/1.t'] ##teamcity[testStarted captureStandardOutput='true' name='No test name given'] ##teamcity[testFinished name='No test name given'] ##teamcity[testSuiteFinished name='t/1.t'] ##teamcity[testSuiteStarted name='t/2.t'] ##teamcity[testFinished name='No test name given'] ##teamcity[testStarted captureStandardOutput='true' name='No test name given'] ##teamcity[testFinished name='No test name given'] ##teamcity[testSuiteFinished name='t/2.t'] All tests successful. Files=2, Tests=2, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.04 cusr 0.04 csys = 0.15 CPU) Result: PASS pete@perl-builder:~/scratch/tc_tap_test$ prove -lvr -j2 --formatter TAP::Formatter::TeamCity t/ ##teamcity[testSuiteStarted name='t/1.t'] ##teamcity[testStarted captureStandardOutput='true' name='No test name given'] ##teamcity[testFinished name='No test name given'] ##teamcity[testSuiteFinished name='t/1.t'] Can't call method "get_select_handles" on an undefined value at /opt/cubabit/perl/lib/5.20.3/TAP/Parser.pm line 1354. pete@perl-builder:~/scratch/tc_tap_test$
Subject: tc_tap_test.tar.gz
Download tc_tap_test.tar.gz
application/x-gzip 222b

Message body not shown because it is not plain text.