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

Allow running all tests with another database that H2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3 RC
    • Fix Version/s: 5.5
    • Component/s: Tests

      Description

      When running tests with for instance -Dnuxeo.test.vcs.db=PostgreSQL this configuration isn't taken into account by JUnit4 tests based on CoreFeature.

      This is because RepositorySettings half-reinitializes the database based on annotations (which isn't configurable enough from outside the tests).

      -> Remove annotation-based database choice.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: