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

Fix UT TestSQLRepositoryQuery with MsSQL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 7.10
    • Fix Version/s: None
    • Component/s: Query & PageProvider

      Description

      See https://qa2.nuxeo.org/jenkins/view/7.10/job/7.10/job/nuxeo-7.10-fullbuild-part1-multidb-linux/Slave=MULTIDB_LINUX_710,dbprofile=mssql,jdk=java-8-oracle/

      org.nuxeo.ecm.core.storage.sql.TestSQLBackendSoftDelete.testUpdateReadAclsDeadlock
      java.lang.AssertionError: expected:<10> but was:<2>
      	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.storage.sql.TestSQLBackend.multiThreadedUpdateReadAclsJob(TestSQLBackend.java:958)
      	at org.nuxeo.ecm.core.storage.sql.TestSQLBackend.testUpdateReadAclsDeadlock(TestSQLBackend.java:934)
      
      org.nuxeo.ecm.core.TestSQLRepositoryQuery.testQueryWithDateBasedACLs
      java.lang.AssertionError: expected:<0> but was:<1>
      	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.checkQueryACL(TestSQLRepositoryQuery.java:1515)
      	at org.nuxeo.ecm.core.TestSQLRepositoryQuery.testQueryWithDateBasedACLs(TestSQLRepositoryQuery.java:1627)
      
      org.nuxeo.ecm.core.storage.sql.TestSQLBackendNoProxies.testParallelPrepareUserReadAcls
      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.storage.sql.TestSQLBackend.checkOneDoc(TestSQLBackend.java:4298)
      	at org.nuxeo.ecm.core.storage.sql.TestSQLBackend$PrepareUserReadAclsJob.run(TestSQLBackend.java:4325)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vdutat Vincent Dutat
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: