Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3507

Replace Derby by H2

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: Database
    • Labels:
      None

      Description

      We could use H2 instead of Derby for unit tests, ITS and evaluation mode.

      A quick and dirty test shows that a single DAO unit test runs in 1.5s instead of 4s. The whole sonar-core unit tests run in 28s instead of 40s.

      H2 provides both an in-memory and a persistent modes. It also provides a Derby compatibility mode.

        Attachments

          Activity

            People

            Assignee:
            dgageot David Gageot
            Reporter:
            dgageot David Gageot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: