Skip to content

Parallel Tests Workspaces Better Handling #1101

Open
@daniel-butler-irl

Description

I hit an issue where running tests using Workspaces in parallel causes issues if using the same terraformDir. I now understand why and the solution is to use files.CopyTerraformFolderToTemp or similar for each test.

To me, this does not seem like a good solution and is not very intuitive unless you know how it all works. I am proposing what I think is a cleaner solution. Add a WorkspaceDir to the Options then when Terraform commands are run execute in the workspace directory.

Am I missing something here? What do others think?

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions