From 7fcfa56a56cc501eab1d6fffdc8822895ffd1c77 Mon Sep 17 00:00:00 2001 From: bruceybian Date: Wed, 21 Feb 2024 16:53:57 +0800 Subject: [PATCH] update kubernetes cluster test --- tencentcloud/services/tke/resource_tc_kubernetes_cluster.go | 2 +- .../services/tke/resource_tc_kubernetes_cluster_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/services/tke/resource_tc_kubernetes_cluster.go b/tencentcloud/services/tke/resource_tc_kubernetes_cluster.go index 5f8b0ac61f..40cbe522ae 100644 --- a/tencentcloud/services/tke/resource_tc_kubernetes_cluster.go +++ b/tencentcloud/services/tke/resource_tc_kubernetes_cluster.go @@ -2616,7 +2616,7 @@ func resourceTencentCloudTkeClusterUpdate(d *schema.ResourceData, meta interface return err } time.Sleep(3 * time.Second) - err = resource.Retry(tccommon.ReadRetryTimeout, func() *resource.RetryError { + err = resource.Retry(3*tccommon.ReadRetryTimeout, func() *resource.RetryError { ipamdResp, inErr := tkeService.DescribeIPAMD(ctx, id) enableIPAMD := *ipamdResp.EnableIPAMD disableVpcCniMode := *ipamdResp.DisableVpcCniMode diff --git a/tencentcloud/services/tke/resource_tc_kubernetes_cluster_test.go b/tencentcloud/services/tke/resource_tc_kubernetes_cluster_test.go index 381204f75a..a322e10ccb 100644 --- a/tencentcloud/services/tke/resource_tc_kubernetes_cluster_test.go +++ b/tencentcloud/services/tke/resource_tc_kubernetes_cluster_test.go @@ -194,7 +194,7 @@ func TestAccTencentCloudKubernetesClusterResourceLogsAddons(t *testing.T) { { PreConfig: func() { // do not update so fast - time.Sleep(100 * time.Second) + time.Sleep(10 * time.Minute) }, Config: testAccTkeClusterLogsAddonsUpdate, Check: resource.ComposeTestCheckFunc(