Skip to content

Commit c463821

Browse files
committed
[use force_delete for testacc]
1. modify force_delete to true for testacc
1 parent 5bfbef9 commit c463821

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tencentcloud/resource_tc_cynosdb_cluster_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestAccTencentCloudCynosdbClusterResource(t *testing.T) {
3232
resource.TestCheckResourceAttr("tencentcloud_cynosdb_cluster.foo", "instance_cpu_core", "1"),
3333
resource.TestCheckResourceAttr("tencentcloud_cynosdb_cluster.foo", "instance_memory_size", "2"),
3434
resource.TestCheckResourceAttr("tencentcloud_cynosdb_cluster.foo", "tags.test", "test"),
35-
resource.TestCheckResourceAttr("tencentcloud_cynosdb_cluster.foo", "force_delete", "false"),
35+
resource.TestCheckResourceAttr("tencentcloud_cynosdb_cluster.foo", "force_delete", "true"),
3636
resource.TestCheckResourceAttr("tencentcloud_cynosdb_cluster.foo", "rw_group_sg.#", "1"),
3737
resource.TestCheckResourceAttr("tencentcloud_cynosdb_cluster.foo", "ro_group_sg.#", "1"),
3838
resource.TestCheckResourceAttr("tencentcloud_cynosdb_cluster.foo", "project_id", "0"),
@@ -213,7 +213,7 @@ resource "tencentcloud_cynosdb_cluster" "foo" {
213213
test = "test"
214214
}
215215
216-
force_delete = false
216+
force_delete = true
217217
218218
rw_group_sg = [
219219
"sg-nltpbqg1",
@@ -252,7 +252,7 @@ resource "tencentcloud_cynosdb_cluster" "foo" {
252252
test = "test-update"
253253
}
254254
255-
force_delete = false
255+
force_delete = true
256256
257257
rw_group_sg = [
258258
"sg-cf1u18wb",

0 commit comments

Comments
 (0)