From 9afcc76ddfa2434d32897aab33bb1bf3b31e1948 Mon Sep 17 00:00:00 2001 From: Marcin Kaciuba Date: Wed, 6 Dec 2023 11:34:49 +0100 Subject: [PATCH] tests: do not run AKS and AKS node configuration in parallel --- castai/resource_aks_cluster_test.go | 2 +- castai/resource_node_configuration_aks_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/castai/resource_aks_cluster_test.go b/castai/resource_aks_cluster_test.go index b2b5240b..646cb97d 100644 --- a/castai/resource_aks_cluster_test.go +++ b/castai/resource_aks_cluster_test.go @@ -81,7 +81,7 @@ func TestAccResourceAKSCluster(t *testing.T) { resourceGroupName := "core-tf-acc" nodeResourceGroupName := "core-tf-acc-ng" - resource.ParallelTest(t, resource.TestCase{ + resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, ProviderFactories: providerFactories, // Destroy of the cluster is not working properly. Cluster wasn't full onboarded and it's getting destroyed. diff --git a/castai/resource_node_configuration_aks_test.go b/castai/resource_node_configuration_aks_test.go index e75e0382..ad2838a3 100644 --- a/castai/resource_node_configuration_aks_test.go +++ b/castai/resource_node_configuration_aks_test.go @@ -15,7 +15,7 @@ func TestAccResourceNodeConfiguration_aks(t *testing.T) { resourceGroupName := "core-tf-acc" nodeResourceGroupName := "core-tf-acc-ng" - resource.ParallelTest(t, resource.TestCase{ + resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, ProviderFactories: providerFactories, // Destroy of the cluster is not working properly. Cluster wasn't full onboarded and it's getting destroyed.