Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...


Note
titleNOTICE

This decision has been migrated to the Technical Council's Decision Log as part of a consolidation effort.  See:   DR-000023 - Use of Testcontainers for test infrastructure


Overview

The trend across FOLIO is that teams are adopting testcontainers (https://www.testcontainers.org/) for build-time test infrastructure.  For example, RMB, OKAPI, and at least one other module have replaced embedded postgresql with testcontainers,  Also, we're starting to see modules which are adopting this for other pieces of infrastructure, e.g. kafka, elasticsearch(?), etc.  Given this trend, does FOLIO as a project want to embrace this and encourage teams to follow this approach?  For all build-time test infrastructure?  Only for specific pieces of infrastructure?  What about for UI modules?

...

In short, it's used to start/stop docker containers.

Considerations

  • It's apparently not possible to run docker simultaneously with vagrant (virtualization issue?)
  • One of the drivers for this is that postgres-embedded lacks support for several prominent architectures in version >= postgres 11
  • RMB now allows disabling test containers by specifying and external DB for running tests:
    Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyRMB-826

...

JIRAs

  • Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyFOLIO-1845
  • Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyOKAPI-825
  • Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyRMB-483
  • Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyFOLIO-3118
  • Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyRMB-826

...


Page Properties


Status

Status
colourGreen
titleComplete

Stakeholders

All developers

OutcomeThe project is embracing the adoption of using testcontainers for integration test infrastructure.
Created date

  

OwnerCraig McNally