Skip to content

Commit

Permalink
update kubernetes cluster test
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceybian committed Feb 21, 2024
1 parent 2a894d9 commit 7fcfa56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7fcfa56

Please sign in to comment.