From 437f2f17ee75f8f0ec9cd417810d57ed83772877 Mon Sep 17 00:00:00 2001 From: Danil-Grigorev Date: Thu, 15 Aug 2024 11:16:04 +0200 Subject: [PATCH] Re-enable AKS e2e Signed-off-by: Danil-Grigorev --- .../import-gitops-v3/import_gitops_v3_test.go | 2 +- .../import-gitops/import_gitops_test.go | 28 ------------------- 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/test/e2e/suites/import-gitops-v3/import_gitops_v3_test.go b/test/e2e/suites/import-gitops-v3/import_gitops_v3_test.go index 6fd02295..54eda540 100644 --- a/test/e2e/suites/import-gitops-v3/import_gitops_v3_test.go +++ b/test/e2e/suites/import-gitops-v3/import_gitops_v3_test.go @@ -95,7 +95,7 @@ var _ = Describe("[Docker] [RKE2] - [management.cattle.io/v3] Create and delete }) }) -var _ = Describe("[Azure] [AKS] - [management.cattle.io/v3] Create and delete CAPI cluster functionality should work with namespace auto-import", Label(e2e.DontRunLabel), func() { +var _ = Describe("[Azure] [AKS] - [management.cattle.io/v3] Create and delete CAPI cluster functionality should work with namespace auto-import", Label(e2e.FullTestLabel), func() { BeforeEach(func() { komega.SetClient(setupClusterResult.BootstrapClusterProxy.GetClient()) komega.SetContext(ctx) diff --git a/test/e2e/suites/import-gitops/import_gitops_test.go b/test/e2e/suites/import-gitops/import_gitops_test.go index 4f8429f3..3a26cf06 100644 --- a/test/e2e/suites/import-gitops/import_gitops_test.go +++ b/test/e2e/suites/import-gitops/import_gitops_test.go @@ -121,34 +121,6 @@ var _ = Describe("[AWS] [EKS] Create and delete CAPI cluster functionality shoul }) }) -var _ = Describe("[Azure] [AKS] Create and delete CAPI cluster functionality should work with namespace auto-import", Label(e2e.DontRunLabel), func() { - BeforeEach(func() { - SetClient(setupClusterResult.BootstrapClusterProxy.GetClient()) - SetContext(ctx) - }) - - specs.CreateUsingGitOpsSpec(ctx, func() specs.CreateUsingGitOpsSpecInput { - return specs.CreateUsingGitOpsSpecInput{ - E2EConfig: e2eConfig, - BootstrapClusterProxy: setupClusterResult.BootstrapClusterProxy, - ClusterctlConfigPath: flagVals.ConfigPath, - ArtifactFolder: artifactsFolder, - ClusterTemplate: e2e.CAPIAzureAKSMMP, - ClusterName: "highlander-e2e-cluster4", - ControlPlaneMachineCount: ptr.To[int](1), - WorkerMachineCount: ptr.To[int](1), - GitAddr: giteaResult.GitAddress, - GitAuthSecretName: e2e.AuthSecretName, - SkipCleanup: false, - SkipDeletionTest: false, - LabelNamespace: true, - RancherServerURL: hostName, - CAPIClusterCreateWaitName: "wait-capz-create-cluster", - DeleteClusterWaitName: "wait-aks-delete", - } - }) -}) - var _ = Describe("[vSphere] [Kubeadm] Create and delete CAPI cluster functionality should work with namespace auto-import", Label(e2e.LocalTestLabel), func() { BeforeEach(func() { SetClient(setupClusterResult.BootstrapClusterProxy.GetClient())