History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OX-3576
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Lukasz Wikierski
Reporter: Lukasz Wikierski
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
OpenX Ad Server

Random failure in PriorityDeliveryLimitation

Created: 18/Jul/08 07:41 AM   Updated: 21/Jul/08 10:03 AM
Component/s: OXP: Maintenance Engine
Affects Version/s: OpenX 2.4.8
Fix Version/s: OpenX 2.4.8, Milestone 21
Security Level: Public (All users can see these issues)

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0h
Time Spent - 0.75h
Time Spent: 0.75h
Time Spent - 0.75h

 Description  « Hide
PriorityDeliveryLimitation.mtp.test.php fails on second test in testGetAdvertisementLifeData when tested for round hours (minutes = 0 and seconds = 0)

It's because if end date of campaign is equal to start of interval forecast data aren't calculated.

change PriorityDeliveryLimitation.mtp.test.php Line 698
$oDate = new Date();
to e.g.
$oDate = new Date('2006-02-15 11:06:12');

 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Lukasz Wikierski - 18/Jul/08 07:49 AM
Time Worked: 0.75h
finding and fixing unit test bug