Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
mikatong committed Dec 18, 2024
1 parent 2dda663 commit 4d846d4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ func TestAccTencentCloudLiteHbaseInstanceResource_basic(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() {
tcacctest.AccStepSetRegion(t, "ap-shanghai")
tcacctest.AccPreCheck(t)
},
Providers: tcacctest.AccProviders,
Expand Down Expand Up @@ -64,6 +65,7 @@ func TestAccTencentCloudLiteHbaseInstanceResource_prepay(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() {
tcacctest.AccStepSetRegion(t, "ap-shanghai")
tcacctest.AccPreCheck(t)
},
Providers: tcacctest.AccProviders,
Expand Down Expand Up @@ -93,6 +95,7 @@ func TestAccTencentCloudLiteHbaseInstanceResource_multiZone(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() {
tcacctest.AccStepSetRegion(t, "ap-shanghai")
tcacctest.AccPreCheck(t)
},
Providers: tcacctest.AccProviders,
Expand Down Expand Up @@ -178,10 +181,10 @@ resource "tencentcloud_lite_hbase_instance" "lite_hbase_instance_prepay" {
disk_size = 100
node_type = "4C16G"
zone_settings {
zone = "ap-guangzhou-6"
zone = "ap-shanghai-2"
vpc_settings {
vpc_id = "vpc-a5pph3hr"
subnet_id = "subnet-bpr2mo2g"
vpc_id = "vpc-muytmxhk"
subnet_id = "subnet-9ye3xm5v"
}
node_num = 3
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ func TestAccTencentCloudServerlessHbaseInstanceResource_basic(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() {
tcacctest.AccStepSetRegion(t, "ap-shanghai")
tcacctest.AccPreCheck(t)
},
Providers: tcacctest.AccProviders,
Expand Down Expand Up @@ -64,6 +65,7 @@ func TestAccTencentCloudServerlessHbaseInstanceResource_prepay(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() {
tcacctest.AccStepSetRegion(t, "ap-shanghai")
tcacctest.AccPreCheck(t)
},
Providers: tcacctest.AccProviders,
Expand Down Expand Up @@ -93,6 +95,7 @@ func TestAccTencentCloudServerlessHbaseInstanceResource_multiZone(t *testing.T)
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() {
tcacctest.AccStepSetRegion(t, "ap-shanghai")
tcacctest.AccPreCheck(t)
},
Providers: tcacctest.AccProviders,
Expand Down Expand Up @@ -178,10 +181,10 @@ resource "tencentcloud_serverless_hbase_instance" "serverless_hbase_instance_pre
disk_size = 100
node_type = "4C16G"
zone_settings {
zone = "ap-guangzhou-6"
zone = "ap-shanghai-2"
vpc_settings {
vpc_id = "vpc-a5pph3hr"
subnet_id = "subnet-bpr2mo2g"
vpc_id = "vpc-muytmxhk"
subnet_id = "subnet-9ye3xm5v"
}
node_num = 3
}
Expand Down

0 comments on commit 4d846d4

Please sign in to comment.