[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945165#comment-15945165
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9830:
--------------------------------------------

Github user nathanejohnson commented on the issue:

    https://github.com/apache/cloudstack/pull/2001
  
    @rthyd I'm not sure if this was a joda time bug or (more likely) misuse of 
joda time.  I'm not even sure how best to verify that.  All I know is that when 
using the java data methods the issue went away.


> QuotaAlertManagerTest fails testGetDifferenceDays on day before DST change
> --------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9830
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9830
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>         Environment: master
>            Reporter: Nathan Johnson
>            Assignee: Nathan Johnson
>            Priority: Minor
>
> this line (182 as of right now):
>     assertTrue(QuotaAlertManagerImpl.getDifferenceDays(now, new 
> DateTime(now).plusDays(1).toDate()) == 1L);
> fails on days where we're about to "spring forward" and lose an hour.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to