Skip to content

Enable terraform e2e test in CI + add docker container cleanup #13163

Open
@Emyrk

Description

@Emyrk

PR #13134 added terraform provisioning to e2e tests, which is currently skipped:

test("create docker workspace", async ({ page }) => {
test.skip(
true,
"creating docker containers is currently leaky. They are not cleaned up when the tests are over.",
);

Any docker containers created are not cleaned up. Until we can ensure tests do not leak containers, any terraform tests will be disaled.

Idea

  • Add a label to all containers created in the e2e tests. In an afterAll hook (any maybe beforeAll too) delete all containers with said label.
  • Find some way to force the container to die after X minutes with --rm and something like overriding the entry point with timeout 10m # ... default entry point

Metadata

Metadata

Assignees

No one assigned

    Labels

    siteArea: frontend dashboard

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions