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:
Optimize Remote Test Execution Time: Reduce the test duration to avoid long delays.
Parallel Test Runs: Allow each PR to run its remote test independently to prevent bottlenecks.
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.
Impact:
Suggested Solutions: