Skip Menu |

This queue is for tickets about the Plack-Middleware-Raygun CPAN distribution.

Report information
The Basics
Id: 116756
Status: resolved
Priority: 0/
Queue: Plack-Middleware-Raygun

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

Bug Information
Severity: (no value)
Broken in: 0.003
Fixed in: v0.4



Subject: Tests fail (with recent DateTime versions)
My smoker systems started to report the following failure: # Failed test 'Message has the same text as die above.' # at t/lib/TestPlack.pm line 63. # (in TestPlack->t0020_response_error) # Compared $data->{"details"}{"error"}{"message"} # got : 'Some error at t/lib/TestPlack.pm line 46, <DATA> line 1. # ' # expect : 'Some error' # Looks like you failed 1 test of 10. t/raygun-middleware.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/10 subtests Experiments suggest that this happens with newer DateTime (or DateTime::Locale) versions.
From the looks of the error I would say that the problem is that the test is trying to do an exact match of "Some error" to the stack trace returned by `die "Some error"`. On Sat Aug 06 07:21:26 2016, SREZIC wrote: Show quoted text
> My smoker systems started to report the following failure: > > # Failed test 'Message has the same text as die above.' > # at t/lib/TestPlack.pm line 63. > # (in TestPlack->t0020_response_error) > # Compared $data->{"details"}{"error"}{"message"} > # got : 'Some error at t/lib/TestPlack.pm line 46, <DATA> line 1. > # ' > # expect : 'Some error' > # Looks like you failed 1 test of 10. > t/raygun-middleware.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/10 subtests > > > Experiments suggest that this happens with newer DateTime (or > DateTime::Locale) versions.
Could you please check against the v0.4 release? Sorry my version number scheme also changed because I misconfigured Dist::Zilla. On Sat Aug 06 07:21:26 2016, SREZIC wrote: Show quoted text
> My smoker systems started to report the following failure: > > # Failed test 'Message has the same text as die above.' > # at t/lib/TestPlack.pm line 63. > # (in TestPlack->t0020_response_error) > # Compared $data->{"details"}{"error"}{"message"} > # got : 'Some error at t/lib/TestPlack.pm line 46, <DATA> line 1. > # ' > # expect : 'Some error' > # Looks like you failed 1 test of 10. > t/raygun-middleware.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/10 subtests > > > Experiments suggest that this happens with newer DateTime (or > DateTime::Locale) versions.
So far it looks good: http://matrix.cpantesters.org/?dist=Plack-Middleware-Raygun%20v0.4 Resolving. On 2016-08-07 04:31:44, HEYTRAV wrote: Show quoted text
> Could you please check against the v0.4 release? Sorry my version > number scheme also changed because I misconfigured Dist::Zilla. > > On Sat Aug 06 07:21:26 2016, SREZIC wrote:
> > My smoker systems started to report the following failure: > > > > # Failed test 'Message has the same text as die above.' > > # at t/lib/TestPlack.pm line 63. > > # (in TestPlack->t0020_response_error) > > # Compared $data->{"details"}{"error"}{"message"} > > # got : 'Some error at t/lib/TestPlack.pm line 46, <DATA> line 1. > > # ' > > # expect : 'Some error' > > # Looks like you failed 1 test of 10. > > t/raygun-middleware.t .. > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/10 subtests > > > > > > Experiments suggest that this happens with newer DateTime (or > > DateTime::Locale) versions.