diff --git a/tests/other_test.go b/tests/other_test.go index 6e99b317..0715ea45 100644 --- a/tests/other_test.go +++ b/tests/other_test.go @@ -66,6 +66,12 @@ func TestRunMultiClusterExample(t *testing.T) { "module.observability_agents_1.helm_release.cloud_monitoring_agent", "module.observability_agents_2.helm_release.log_analysis_agent", "module.observability_agents_2.helm_release.cloud_monitoring_agent", + // workaround for the issue https://github.ibm.com/GoldenEye/issues/issues/10743 + // when the issue is fixed on IKS, so the destruction of default workers pool is correctly managed on provider/clusters service the next two entries should be removed + "'module.ocp_base_cluster_1.ibm_container_vpc_worker_pool.autoscaling_pool[\"default\"]'", + "'module.ocp_base_cluster_1.ibm_container_vpc_worker_pool.pool[\"default\"]'", + "'module.ocp_base_cluster_2.ibm_container_vpc_worker_pool.autoscaling_pool[\"default\"]'", + "'module.ocp_base_cluster_2.ibm_container_vpc_worker_pool.pool[\"default\"]'", }, // Do not hard fail the test if the implicit destroy steps fail to allow a full destroy of resource to occur ImplicitRequired: false, @@ -88,6 +94,10 @@ func TestRunAddRulesToSGExample(t *testing.T) { ImplicitDestroy: []string{ "module.ocp_base.null_resource.confirm_network_healthy", "module.ocp_base.null_resource.reset_api_key", + // workaround for the issue https://github.ibm.com/GoldenEye/issues/issues/10743 + // when the issue is fixed on IKS, so the destruction of default workers pool is correctly managed on provider/clusters service the next two entries should be removed + "'module.ocp_base.ibm_container_vpc_worker_pool.autoscaling_pool[\"default\"]'", + "'module.ocp_base.ibm_container_vpc_worker_pool.pool[\"default\"]'", }, // Do not hard fail the test if the implicit destroy steps fail to allow a full destroy of resource to occur ImplicitRequired: false, @@ -110,6 +120,10 @@ func TestCustomSGExample(t *testing.T) { ImplicitDestroy: []string{ "module.ocp_base.null_resource.confirm_network_healthy", "module.ocp_base.null_resource.reset_api_key", + // workaround for the issue https://github.ibm.com/GoldenEye/issues/issues/10743 + // when the issue is fixed on IKS, so the destruction of default workers pool is correctly managed on provider/clusters service the next two entries should be removed + "'module.ocp_base.ibm_container_vpc_worker_pool.autoscaling_pool[\"default\"]'", + "'module.ocp_base.ibm_container_vpc_worker_pool.pool[\"default\"]'", }, // Do not hard fail the test if the implicit destroy steps fail to allow a full destroy of resource to occur ImplicitRequired: false, @@ -135,6 +149,12 @@ func TestCrossKmsSupportExample(t *testing.T) { "kms_cross_account_id": permanentResources["ge_ops_account_id"], "ocp_version": ocpVersion3, }, + ImplicitDestroy: []string{ + // workaround for the issue https://github.ibm.com/GoldenEye/issues/issues/10743 + // when the issue is fixed on IKS, so the destruction of default workers pool is correctly managed on provider/clusters service the next two entries should be removed + "'module.ocp_base.ibm_container_vpc_worker_pool.autoscaling_pool[\"default\"]'", + "'module.ocp_base.ibm_container_vpc_worker_pool.pool[\"default\"]'", + }, }) output, err := options.RunTestConsistency() diff --git a/tests/pr_test.go b/tests/pr_test.go index bf15c38a..077e41c0 100644 --- a/tests/pr_test.go +++ b/tests/pr_test.go @@ -61,7 +61,10 @@ func setupOptions(t *testing.T, prefix string, terraformDir string, ocpVersion s "ocp_entitlement": "cloud_pak", }, ImplicitDestroy: []string{ - "module.ocp_base.ibm_container_vpc_worker_pool.autoscaling_pool[\"default\"]", + // workaround for the issue https://github.ibm.com/GoldenEye/issues/issues/10743 + // when the issue is fixed on IKS, so the destruction of default workers pool is correctly managed on provider/clusters service the next two entries should be removed + "'module.ocp_base.ibm_container_vpc_worker_pool.autoscaling_pool[\"default\"]'", + "'module.ocp_base.ibm_container_vpc_worker_pool.pool[\"default\"]'", }, })