Skip to content
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

Remote tests blocking multiple pull requests #19

Open
rswrz opened this issue Sep 19, 2024 · 0 comments · May be fixed by #20
Open

Remote tests blocking multiple pull requests #19

rswrz opened this issue Sep 19, 2024 · 0 comments · May be fixed by #20

Comments

@rswrz
Copy link
Member

rswrz commented Sep 19, 2024

Currently, when multiple pull requests are open, the remote tests block all but one PR, as only a single test can run at a time. The remote test takes approximately 30 minutes, creating significant delays in feature development and bug fixes.

╷
│ Error: A resource with the ID "/subscriptions/***/resourceGroups/rg-tftest-dev-we-01" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_resource_group" for more information.
│ 
│   with azurerm_resource_group.tftest,
│   on tests/remote/resources.tf line 44, in resource "azurerm_resource_group" "tftest":
│   44: resource "azurerm_resource_group" "tftest" {
│ 
╵

Impact:

  • PRs are blocked for extended periods.
  • Development speed is hindered

Suggested Solutions:

  1. Optimize Remote Test Execution Time: Reduce the test duration to avoid long delays.
  2. Parallel Test Runs: Allow each PR to run its remote test independently to prevent bottlenecks.
@rswrz rswrz linked a pull request Sep 19, 2024 that will close this issue
@rswrz rswrz linked a pull request Sep 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant