RemotePollerAvailabilityRestServiceTest has midnight timing isses

Description

I was running the unit tests on my system and the RemotePollerAvailabilityRestServiceTest happened to run at 12:02 AM and failed.

It looks like the remote poller (or test?) has a timing problem when it runs just after midnight?

Acceptance / Success Criteria

None

Attachments

2
  • 10 Aug 2014, 12:08 PM
  • 10 Aug 2014, 12:08 PM

Lucidchart Diagrams

Activity

Seth Leger September 23, 2014 at 8:11 PM

I've fixed the class so that the default start and end times always contain enough samples to calculate a value for a given resolution. If the class happens to run right after midnight, then it will still calculate values from the previous day. Marking as fixed.

commit 88839b437a30aafcd8f13a6766e18322bb420d10

Seth Leger September 22, 2014 at 10:55 AM

Bumping to blocker since this just caused a bamboo test failure.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created August 10, 2014 at 12:08 PM
Updated September 23, 2014 at 11:08 PM
Resolved September 23, 2014 at 8:11 PM

Flag notifications