Skip Menu |

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

Report information
The Basics
Id: 104224
Status: resolved
Priority: 0/
Queue: Amazon-SQS-Simple

People
Owner: PENFOLD [...] cpan.org
Requestors: simon.proctor [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.04
Fixed in: 2.05



Subject: Update to 2.04 broken tests
The patch to update the constructors in 2.04 has unfortunately broken some of the unit tests meaning you can't install the module without skipping testing. Looking at the tests dev-methods.t, dev-methods-batch.t and dev-methods-regression-2008-01-01.t they are expecting $ENV{AWS_ACCESS_KEY} and $ENV{AWS_SECRET_KEY} to be set. I think the easiest plan would be to skip these tests if the environment variables aren't set.
Actually on further examination the issue seems to be there's a whole load of new unit tests in 2.04.
On Tue May 05 04:51:27 2015, https://www.google.com/accounts/o8/id?id=AItOawksNL5OJ4luv2sxGrtiS7isfIXDnCONDVM wrote: Show quoted text
> The patch to update the constructors in 2.04 has unfortunately broken > some of the unit tests meaning you can't install the module without > skipping testing. > > Looking at the tests dev-methods.t, dev-methods-batch.t and dev- > methods-regression-2008-01-01.t they are expecting > $ENV{AWS_ACCESS_KEY} and $ENV{AWS_SECRET_KEY} to be set. > > I think the easiest plan would be to skip these tests if the > environment variables aren't set.
Agreed, this is biting us too. Should be skipped or at the very list documented in installation instructions.
On Wed Sep 07 07:20:42 2016, OSFAMERON wrote: Show quoted text
> On Tue May 05 04:51:27 2015, > https://www.google.com/accounts/o8/id?id=AItOawksNL5OJ4luv2sxGrtiS7isfIXDnCONDVM > wrote:
> > The patch to update the constructors in 2.04 has unfortunately broken > > some of the unit tests meaning you can't install the module without > > skipping testing. > > > > Looking at the tests dev-methods.t, dev-methods-batch.t and dev- > > methods-regression-2008-01-01.t they are expecting > > $ENV{AWS_ACCESS_KEY} and $ENV{AWS_SECRET_KEY} to be set. > > > > I think the easiest plan would be to skip these tests if the > > environment variables aren't set.
> > Agreed, this is biting us too. Should be skipped or at the very list > documented in installation instructions.
Tests skip in 2.05. (Actually, make dist shouldn't include them.)