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

Fix TestSQLBackendSequenceId tests

    XMLWordPrintable

    Details

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

      Description

      On PostgreSQL when using sequence ids, we have this error:

      • TestSQLBackendSequenceId.testProxySchemas
      • TestSQLBackendSequenceId.testProxySchemasShadowing
      java.lang.AssertionError: expected: java.util.HashMap<{9=proxyinfo}> but was: java.util.HashMap<{9=proxyinfo}>
      at org.nuxeo.ecm.core.storage.sql.TestSQLBackend.doTestProxySchemas(TestSQLBackend.java:2233)
      at org.nuxeo.ecm.core.storage.sql.TestSQLBackend.testProxySchemas(TestSQLBackend.java:2152)
      

      The map key is a Long in one case and a String in the other.

      https://qa.nuxeo.org/jenkins/job/nuxeo-master-fullbuild-part1-multidb-linux/1345/Slave=MULTIDB_LINUX,dbprofile=pgsql,jdk=java-8-oracle/testReport/junit/org.nuxeo.ecm.core.storage.sql/TestSQLBackendSequenceId/testProxySchemas/
      https://qa.nuxeo.org/jenkins/job/nuxeo-master-fullbuild-part1-multidb-linux/1345/Slave=MULTIDB_LINUX,dbprofile=pgsql,jdk=java-8-oracle/testReport/junit/org.nuxeo.ecm.core.storage.sql/TestSQLBackendSequenceId/testProxySchemasShadowing/

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: