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

Fix SQL Server test doing fulltext query

    XMLWordPrintable

    Details

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

      Description

      Some CoreDirectory tests indirectly do a fulltext query but don't take into account the fact that SQL Server has async fulltext indexing:

      • TestCoreDirectory.queryWithFilter
      • TestCoreDirectoryUser.queryWithFilter

      https://qa.nuxeo.org/jenkins/job/master/job/nuxeo-master-fullbuild-part1-multidb-linux/Slave=MULTIDB_LINUX,dbprofile=mssql,jdk=java-8-oracle/203/

      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.directory.core.TestCoreDirectory.queryWithFilter(TestCoreDirectory.java:204)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: