Skip to content

Commit

Permalink
update test TestAccTencentCloudKubernetesClusterResourceLogsAddons
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceybian committed Feb 20, 2024
1 parent b746446 commit 2a894d9
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions tencentcloud/services/tke/resource_tc_kubernetes_cluster_test.go
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(10 * time.Second)
time.Sleep(100 * time.Second)
},
Config: testAccTkeClusterLogsAddonsUpdate,
Check: resource.ComposeTestCheckFunc(
Expand Down Expand Up @@ -512,17 +512,9 @@ resource "tencentcloud_security_group" "example" {
description = "sg test"
}
data "tencentcloud_security_groups" "internal" {
name = tencentcloud_security_group.example.name
}
data "tencentcloud_security_groups" "exclusive" {
name = tencentcloud_security_group.example.name
}
locals {
sg_id = data.tencentcloud_security_groups.internal.security_groups.0.security_group_id
sg_id2 = data.tencentcloud_security_groups.exclusive.security_groups.0.security_group_id
sg_id = tencentcloud_security_group.example.id
sg_id2 = tencentcloud_security_group.example.id
}
`

Expand Down

0 comments on commit 2a894d9

Please sign in to comment.