Skip Menu |
 

This queue is for tickets about the CGI-Simple CPAN distribution.

Report information
The Basics
Id: 92833
Status: resolved
Priority: 0/
Queue: CGI-Simple

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

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



Subject: Tests fail when run in parallel
e.g. via 'prove -Mblib -r -j9 t' or 'HARNESS_OPTIONS=j9 make test' It appears you are sharing a tempdir across multiple tests, so the tests interfere with each other. I suggest using File::Temp to keep each test separate. Searching CGI::Simple::Cookie on mirror http://mirrors.gossamer-threads.com/CPAN ... --> Working on CGI::Simple::Cookie Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/A/AN/ANDYA/CGI-Simple-1.113.tar.gz -> OK Unpacking CGI-Simple-1.113.tar.gz Entering CGI-Simple-1.113 Checking configure dependencies from META.yml Checking if you have Module::Build 0.36 ... Yes (0.4204) Checking if you have Module::Build 0.36 ... Yes (0.4204) Configuring CGI-Simple-1.113 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'CGI-Simple' version '1.113' -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0 ... Yes (1.001002) Checking if you have IO::Scalar 0 ... Yes (2.110) Building and testing CGI-Simple-1.113 Building CGI-Simple # Testing CGI::Simple 1.113 t/000.load.t ........ ok t/080.util.t ........ ok t/041.multipart.t ... ok t/030.function.t .... ok t/100.set-cookie.t .. ok t/020.cookie.t ...... ok t/040.request.t ..... ok t/headers.t ......... ok t/090.14838.t ....... ok t/manifest.t ........ skipped: No MANIFEST.SKIP t/upload_info.t ..... ok t/110.bad-upload.t .. ok Can't read ./cgi-tmpfile.tmp No such file or directory at t/070.standard.t line 594. # Failed test 'upload('/some/path/to/myfile') - real files, 1' # at t/070.standard.t line 596. # got: '' # expected: '1' # Looks like you failed 1 test of 289. t/070.standard.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/289 subtests t/050.simple.t ...... ok t/pod-coverage.t .... ok t/pod.t ............. ok t/060.slow_post.t ... ok Test Summary Report ------------------- t/070.standard.t (Wstat: 256 Tests: 289 Failed: 1) Failed test: 145 Non-zero exit status: 1 Files=17, Tests=861, 10 wallclock secs ( 0.17 usr 0.07 sys + 1.34 cusr 0.26 csys = 1.84 CPU) Result: FAIL Failed 1/17 test programs. 1/861 subtests failed.
fixed in upcoming 1.12


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.