Skip Menu |

This queue is for tickets about the Catalyst-Action-REST CPAN distribution.

Report information
The Basics
Id: 72685
Status: resolved
Priority: 0/
Queue: Catalyst-Action-REST

People
Owner: Nobody in particular
Requestors: shantanu.bhadoria [...] gmail.com
Cc:
AdminCc:

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



Subject: Test breaks for t/data-serializer.t
administrator@administrator-G41M-ES2L:~/Downloads/Catalyst-Action-REST-0.93$ prove -l t/data-serializer.t t/data-serializer.t .. 1/? # Failed test 'POST text/x-data-taxi succeeded' # at t/data-serializer.t line 53. # Failed test 'POST text/x-data-taxi data matches' # at t/data-serializer.t line 54. # got: 'Bad Request' # expected: 'is good for monkey' # Failed test 'POST text/x-data-dumper succeeded' # at t/data-serializer.t line 53. # Failed test 'POST text/x-data-dumper data matches' # at t/data-serializer.t line 54. # got: 'Bad Request' # expected: 'is good for monkey' # Failed test 'POST text/x-php-serialization succeeded' # at t/data-serializer.t line 53. # Failed test 'POST text/x-php-serialization data matches' # at t/data-serializer.t line 54. # got: 'Bad Request' # expected: 'is good for monkey' # Failed test 'POST text/x-data-denter succeeded' # at t/data-serializer.t line 53. # Failed test 'POST text/x-data-denter data matches' # at t/data-serializer.t line 54. # got: 'Bad Request' # expected: 'is good for monkey' # Failed test 'POST application/x-storable succeeded' # at t/data-serializer.t line 53. # Failed test 'POST application/x-storable data matches' # at t/data-serializer.t line 54. # got: 'Bad Request' # expected: 'is good for monkey' # Looks like you failed 10 tests of 31. t/data-serializer.t .. Dubious, test returned 10 (wstat 2560, 0xa00) Failed 10/31 subtests Test Summary Report ------------------- t/data-serializer.t (Wstat: 2560 Tests: 31 Failed: 10) Failed tests: 8-9, 12-13, 16-17, 20-21, 24-25 Non-zero exit status: 10 Files=1, Tests=31, 1 wallclock secs ( 0.03 usr 0.00 sys + 1.06 cusr 0.05 csys = 1.14 CPU) Result: FAIL The samething happens when I install via cpan. Unfortunately due to my schedule I wasn't able to look into finding a fix, but I guess it should be logged here anyway. thanks, -Shantanu Bhadoria
From: david [...] audacitas.com
I can confirm that this happens with Catalyst runtime v5.9 but _not_ with v5.8 and I suspect it's something to do with the PSGI implementation. Note that the failed tests are caused by the request being rejected by the test server, not the test controller t/lib/Test/Serialize/Controller/REST.pm: the action monkey_put() is not being invoked for the failed cases but _is_ invoked for the successful ones. HTH
On Mon Apr 23 02:51:13 2012, djgp wrote: Show quoted text
> I can confirm that this happens with Catalyst runtime v5.9 but _not_ > with v5.8 and I suspect it's something to do with the PSGI > implementation. Note that the failed tests are caused by the request > being rejected by the test server, not the test controller > t/lib/Test/Serialize/Controller/REST.pm: the action monkey_put() is not > being invoked for the failed cases but _is_ invoked for the successful ones. > > HTH
I can confirm that this problem exists, but only for tests against perl 5.10.1. I get successful test suite runs for all of 5.12.4, 5.14.3 and 5.16.2. This is true for all 4 of the following platforms: 32 bit RHEL5, 32 bit RHEL6, 64 bit RHEL5 and 64 bit RHEL 6. These tests are done using the latest versions of ALL CPAN dependencies for this distribution, as of March 2, 2013.
On Mon Mar 04 08:30:28 2013, WPMOORE wrote: Show quoted text
> On Mon Apr 23 02:51:13 2012, djgp wrote:
> > I can confirm that this happens with Catalyst runtime v5.9 but _not_ > > with v5.8 and I suspect it's something to do with the PSGI > > implementation. Note that the failed tests are caused by the request > > being rejected by the test server, not the test controller > > t/lib/Test/Serialize/Controller/REST.pm: the action monkey_put() is
> not
> > being invoked for the failed cases but _is_ invoked for the
> successful ones.
> > > > HTH
> > I can confirm that this problem exists, but only for tests against > perl 5.10.1. I get successful > test suite runs for all of 5.12.4, 5.14.3 and 5.16.2. This is true > for all 4 of the following > platforms: 32 bit RHEL5, 32 bit RHEL6, 64 bit RHEL5 and 64 bit RHEL 6. > > These tests are done using the latest versions of ALL CPAN > dependencies for this distribution, > as of March 2, 2013.
Working on a "fix." Hopefully it will be released in a few hours.
On Wed Nov 23 21:45:57 2011, shantanubhadoria wrote: Show quoted text
> administrator@administrator-G41M-ES2L:~/Downloads/Catalyst-Action-REST-0.93$ > prove -l t/data-serializer.t > t/data-serializer.t .. 1/?
This has now been fixed!