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

Fix DBS Mem test for NXQL query using date case

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.10
    • Component/s: Core, Tests

      Description

      This fails on DBS Mem:

      java.lang.AssertionError: expected:<1> but was:<0>
      	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.ecm.core.TestSQLRepositoryQuery.testDateNew(TestSQLRepositoryQuery.java:1168)
      

      The expression DATE(dc:created) = DATE '2007-03-01' doesn't seem to match in the QA environment, although it passes locally on my machine.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: