-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallelize WorkSpaces Directory tests #11519
Comments
Is there any example of the test data with external dependencies? I supposed to think each test case should be self-sufficient and independent. If I specify |
@gdavison Please could you provide some insight here? 🙏 |
It's because the IAM role for the WorkSpaces directories has to be |
@gdavison Yeah, I understand the issue reason and why we need to synchronize tests. What I can't understand, why does tests execution should be synchronized with an imperative code instead of |
@Tensho the maintainers use a TeamCity CI environment for running the acceptance testing (both daily and ad-hoc when not running it locally). The TeamCity runner being used splits each test into a separate Go process for parallelization (this was written well before |
@bflad Thank you for the thorough explanation 🙇 Now it's clear for me the code is for CI compatibility reason. |
This has been released in version 2.64.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Description
WorkSpaces Directories require an IAM Role named
workspaces_DefaultRole
. If the role is created and destroyed as part of each test, they have to be completely serialized, as done in #11505. If the test suite grows, this will slow down execution, so we should try to make the tests parallel. This will require moving the IAM Role to an external dependency which the tests can assume has been defined.The text was updated successfully, but these errors were encountered: