Uploaded image for project: 'FOLIO'
  1. FOLIO
  2. FOLIO-1845

Replace postgresql-embedded by testcontainers.org

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      CP: ready for planning, CP: Roadmap backlog
    • Development Team:
      Core: Platform

      Description

      We cannot upgrade from postgres 10 to postgres 11, 12 or 13 as long as our back-ends still use Postgresql-embedded for unit/integration tests because Postgresql-embedded only supports postgres 9 und 10.

      Postgresql-embedded is is not being actively maintained anymore and recommends to switch to testcontainers.org, see announcement from April 2019: https://github.com/yandex-qatools/postgresql-embedded/commit/0895ad0ad96ff27613bd1e1a351fb329a76fde22

      Vert.x has replaced postgresql-embedded by testcontainers.org for their unit tests eight months before in August 2018:
      https://github.com/vert-x3/vertx-mysql-postgresql-client/commit/16c538947d0e99ba3a66e4c99ccb87c9a972ffbb

      testcontainers.org starts and stops a postgresql docker container.

      postgresql-embedded does NOT support Linux x86-64, Linux x86-32, Windows x86-32 for PostgreSQL >= 11.
      References:
      https://github.com/yandex-qatools/postgresql-embedded/commit/15685611972bacd8ba61dd7f11d4dbdcb3ba8dc1
      https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

      Okapi has succesfully implemented postgres testcontainers.org containers for the SSL tests (OKAPI-787, pull request), this works fine in Jenkins.

      General Docker requirements of testcontainers.org: https://www.testcontainers.org/supported_docker_environment/
      Windows Docker requirements of testcontainers.org: https://www.testcontainers.org/supported_docker_environment/windows/

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases