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

Allow use of nuxeo-runtime-datasource for unit tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3 GA
    • Fix Version/s: 5.4.2-RC1, 5.4.2
    • Component/s: None

      Description

      Allow the use of nuxeo-runtime-datasource to contribute datasources in unit tests.

      The problem in the current code is that it assumes that the NamingContextFactory is the one from nuxeo-common. But when running in unit tests it could be Jetty's where some contexts are already bound.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: