Skip to content

Commit 8ed15aa

Browse files
authored
test(monitor): [116421498] Optimize single test (#2552)
1 parent 160a0bd commit 8ed15aa

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

tencentcloud/acctest/basic.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,12 @@ const (
237237
DefaultGrafanaVersion = "1.2.0"
238238
)
239239

240+
// monitor
241+
const (
242+
DefaultTmpVpcId = "vpc-axrsmmrv"
243+
DefaultTmpSubnetId = "subnet-b23ua6gk"
244+
)
245+
240246
/*
241247
---------------------------------------------------
242248
The following are common test case used as templates.

tencentcloud/services/tmp/resource_tc_monitor_tmp_instance_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ func testAccCheckInstanceExists(r string) resource.TestCheckFunc {
105105

106106
const testInstanceVar = tcacctest.DefaultAzVariable + `
107107
variable "vpc_id" {
108-
default = "` + tcacctest.DefaultEMRVpcId + `"
108+
default = "` + tcacctest.DefaultTmpVpcId + `"
109109
}
110110
variable "subnet_id" {
111-
default = "` + tcacctest.DefaultEMRSubnetId + `"
111+
default = "` + tcacctest.DefaultTmpSubnetId + `"
112112
}
113113
`
114114
const testInstance_basic = testInstanceVar + `

0 commit comments

Comments
 (0)