Skip to content

chore: Improve efficiency of Docker fixtures in integration_tests #923

Closed
@gruuya

Description

@gruuya

The goal of this issue would be to improve the following

  1. Currently each integration test relies on separate docker containers, meaning there's some time being lost starting/stopping (and building) containers for each test individually.
    • this doesn't seem strictly required, as most or even all present integration tests can be run on the same set of containers
    • moreover, sharing the same set of containers means tests could be run concurrently (they're run sequentially atm)
  2. A corollary to 1 is that adding multiple tests which call set_test_fixture into the same file is not reliable as there are docker container port races ongoing

Presumably at some point there might be tests that actually change something which other tests shouldn't observe, so the ideal solution would allow for having a separate set of containers for those tests alone, and shared ones for all the rest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions