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

Fix DBS Mem tests using dynamic contribution deployment

    XMLWordPrintable

    Details

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

      Description

      Some tests are using dynamic contribution deployment, and expect the repository to keep its content while doing this. This is not the case anymore when using DBS Mem because all contributions are restarted including the repository contribution, and as DBS Mem has no persistence the content is lots.

      These tests should use per-test deployment of contributions using @LocalDeploy.

      Affected tests:

      • org.nuxeo.ecm.core.opencmis.impl.TestCmisBinding.testCheckInWithChanges
      • org.nuxeo.ecm.core.opencmis.impl.TestCmisBinding.testQueryWithSecurityPolicy
      • org.nuxeo.ecm.core.opencmis.impl.TestCmisBindingES.testCheckInWithChanges
      • org.nuxeo.ecm.core.opencmis.impl.TestCmisBindingES.testQueryProxy
      • org.nuxeo.ecm.core.opencmis.impl.TestCmisBindingNoProxies.testCheckInWithChanges
      • org.nuxeo.ecm.core.opencmis.impl.TestCmisBindingNoProxies.testQueryWithSecurityPolicy
      • org.nuxeo.ecm.platform.threed.tests.TestThreeDRenditions.shouldExposeOnlyExposedAsRenditions
      • org.nuxeo.ecm.user.center.profile.TestUserProfileImporterOk.userProfileImportsShouldSucceed

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m