Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16853

Fix TestAggregates.testPageProviderWithDateRangeSelection failing due to DST

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF08, 7.2
    • Fix Version/s: 6.0-HF09, 7.3
    • Component/s: Elasticsearch

      Description

      After DST (Daylight Saving Time) change the following test fails:
      org.nuxeo.elasticsearch.test.aggregates.TestAggregates.testPageProviderWithDateRangeSelection

      Message d'erreur
      
      expected:<7> but was:<6>
      
      Pile d'exécution
      
      java.lang.AssertionError: expected:<7> but was:<6>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.nuxeo.elasticsearch.test.aggregates.TestAggregates.testPageProviderWithDateRangeSelection(TestAggregates.java:654)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: