Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8911

Integration tests fail if HikariCP is used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.0.0
    • Fix Version/s: 19.0.0
    • Component/s: Database, Testing / JUnit
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Nov 23rd, Horizon - Nov 30th, Horizon - Jan 25th

      Description

      The integration tests are failing if the connection pool is switched from c3p0 to HikariCP inside the unit tests. The failures seem to indicate that too many database connections are being used so I'm marking this issue as a blocker in case there is some issue where HikariCP connections are not shut down correctly and stay open between test runs. The number of connections is set to the same value as c3p0 so the behavior should be identical (or fewer connections should be used).

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              seth Seth Leger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: