cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9830) QuotaAlertManagerTest fails testGetDifferenceDays on day before DST change
Date Tue, 28 Mar 2017 13:33:41 GMT

    [ 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)

Mime
View raw message