Skip to content

Commit ae78eab

Browse files
rudolfzhaorudolfzhao
and
rudolfzhao
authored
Gaap test fix (#2642)
* 修改资源ID * 修改测试用例资源 * 修改测试用例资源 --------- Co-authored-by: rudolfzhao <[email protected]>
1 parent 9851d5e commit ae78eab

15 files changed

+23
-23
lines changed

tencentcloud/services/gaap/data_source_tc_gaap_custom_header.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Example Usage
44

55
```hcl
66
data "tencentcloud_gaap_custom_header" "custom_header" {
7-
rule_id = "rule-9sdhv655"
7+
rule_id = "rule-hddrxgpd"
88
}
99
```

tencentcloud/services/gaap/data_source_tc_gaap_custom_header_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ func TestAccTencentCloudGaapCustomHeaderDataSource_basic(t *testing.T) {
2727

2828
const testAccGaapCustomHeaderDataSource = `
2929
data "tencentcloud_gaap_custom_header" "custom_header" {
30-
rule_id = "rule-9sdhv655"
30+
rule_id = "rule-hddrxgpd"
3131
}
3232
`

tencentcloud/services/gaap/data_source_tc_gaap_domain_error_page_infos_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ func TestAccTencentCloudGaapDomainErrorPageInfosDataSource_basic(t *testing.T) {
2727

2828
const testAccGaapDomainErrorPageInfosDataSource = `
2929
data "tencentcloud_gaap_domain_error_page_infos" "domain_error_page_infos" {
30-
error_page_ids = ["errorPage-mh4k07v5"]
30+
error_page_ids = ["errorPage-ogeq0we1"]
3131
}
3232
`

tencentcloud/services/gaap/data_source_tc_gaap_listener_real_servers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ func TestAccTencentCloudGaapListenerRealServersDataSource_basic(t *testing.T) {
2828

2929
const testAccGaapListenerRealServersDataSource = `
3030
data "tencentcloud_gaap_listener_real_servers" "listener_real_servers" {
31-
listener_id = "listener-4yrzte61"
31+
listener_id = "listener-2zfpeb8f"
3232
}
3333
`

tencentcloud/services/gaap/data_source_tc_gaap_listener_statistics_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ func TestAccTencentCloudGaapListenerStatisticsDataSource_basic(t *testing.T) {
2727

2828
const testAccGaapListenerStatisticsDataSource = `
2929
data "tencentcloud_gaap_listener_statistics" "listener_statistics" {
30-
listener_id = "listener-2s3lghkv"
31-
start_time = "2023-10-19 00:00:00"
32-
end_time = "2023-10-19 23:59:59"
30+
listener_id = "listener-5xjxv77h"
31+
start_time = "2024-05-20 00:00:00"
32+
end_time = "2024-05-20 23:59:59"
3333
metric_names = ["InBandwidth", "OutBandwidth", "InPackets", "OutPackets", "Concurrent"]
3434
granularity = 300
3535
}

tencentcloud/services/gaap/data_source_tc_gaap_proxies_status_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ func TestAccTencentCloudGaapProxiesStatusDataSource_basic(t *testing.T) {
2727

2828
const testAccGaapProxiesStatusDataSource = `
2929
data "tencentcloud_gaap_proxies_status" "proxies_status" {
30-
proxy_ids = ["link-8lpyo88p"]
30+
proxy_ids = ["link-m9t4yho9"]
3131
}
3232
`

tencentcloud/services/gaap/data_source_tc_gaap_proxy_detail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Example Usage
44

55
```hcl
66
data "tencentcloud_gaap_proxy_detail" "proxy_detail" {
7-
proxy_id = "link-8lpyo88p"
7+
proxy_id = "link-m9t4yho9"
88
}
99
```

tencentcloud/services/gaap/data_source_tc_gaap_proxy_detail_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ func TestAccTencentCloudGaapProxyDetailDataSource_basic(t *testing.T) {
2727

2828
const testAccGaapProxyDetailDataSource = `
2929
data "tencentcloud_gaap_proxy_detail" "proxy_detail" {
30-
proxy_id = "link-8lpyo88p"
30+
proxy_id = "link-m9t4yho9"
3131
}
3232
`

tencentcloud/services/gaap/data_source_tc_gaap_proxy_group_statistics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Example Usage
44

55
```hcl
66
data "tencentcloud_gaap_proxy_group_statistics" "proxy_group_statistics" {
7-
group_id = "link-8lpyo88p"
7+
group_id = "link-m9t4yho9"
88
start_time = "2023-10-09 00:00:00"
99
end_time = "2023-10-09 23:59:59"
1010
metric_names = ["InBandwidth", "OutBandwidth", "InFlow", "OutFlow"]

tencentcloud/services/gaap/data_source_tc_gaap_proxy_group_statistics_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ func TestAccTencentCloudGaapProxyGroupStatisticsDataSource_basic(t *testing.T) {
2828
const testAccGaapProxyGroupStatisticsDataSource = `
2929
data "tencentcloud_gaap_proxy_group_statistics" "proxy_group_statistics" {
3030
group_id = "link-8lpyo88p"
31-
start_time = "2023-10-09 00:00:00"
32-
end_time = "2023-10-09 23:59:59"
31+
start_time = "2024-05-20 00:00:00"
32+
end_time = "2024-05-20 23:59:59"
3333
metric_names = ["InBandwidth", "OutBandwidth", "InFlow", "OutFlow"]
3434
granularity = 300
3535
}

tencentcloud/services/gaap/data_source_tc_gaap_proxy_groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ data "tencentcloud_gaap_proxy_groups" "proxy_groups" {
77
project_id = 0
88
filters {
99
name = "GroupId"
10-
values = ["lg-5anbbou5"]
10+
values = ["lg-8h33uhwd"]
1111
}
1212
}
1313
```

tencentcloud/services/gaap/data_source_tc_gaap_proxy_groups_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func TestAccTencentCloudGaapProxyGroupsDataSource_basic(t *testing.T) {
1818
Config: testAccGaapProxyGroupsDataSource,
1919
Check: resource.ComposeTestCheckFunc(
2020
tcacctest.AccCheckTencentCloudDataSourceID("data.tencentcloud_gaap_proxy_groups.proxy_groups"),
21-
resource.TestCheckResourceAttr("data.tencentcloud_gaap_proxy_groups.proxy_groups", "proxy_group_list.0.group_id", "lg-5anbbou5"),
21+
resource.TestCheckResourceAttr("data.tencentcloud_gaap_proxy_groups.proxy_groups", "proxy_group_list.0.group_id", "lg-8h33uhwd"),
2222
),
2323
},
2424
},
@@ -30,7 +30,7 @@ data "tencentcloud_gaap_proxy_groups" "proxy_groups" {
3030
project_id = 0
3131
filters {
3232
name = "GroupId"
33-
values = ["lg-5anbbou5"]
33+
values = ["lg-8h33uhwd"]
3434
}
3535
}
3636
`

tencentcloud/services/gaap/data_source_tc_gaap_proxy_statistics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Example Usage
44

55
```hcl
66
data "tencentcloud_gaap_proxy_statistics" "proxy_statistics" {
7-
proxy_id = "link-8lpyo88p"
8-
start_time = "2023-10-09 00:00:00"
9-
end_time = "2023-10-09 23:59:59"
7+
proxy_id = "link-m9t4yho9"
8+
start_time = "2024-05-20 00:00:00"
9+
end_time = "2024-05-20 23:59:59"
1010
metric_names = ["InBandwidth", "OutBandwidth", "InFlow", "OutFlow", "InPackets", "OutPackets", "Concurrent", "HttpQPS", "HttpsQPS", "Latency", "PacketLoss"]
1111
granularity = 300
1212
}

tencentcloud/services/gaap/data_source_tc_gaap_proxy_statistics_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ func TestAccTencentCloudGaapProxyStatisticsDataSource_basic(t *testing.T) {
2727

2828
const testAccGaapProxyStatisticsDataSource = `
2929
data "tencentcloud_gaap_proxy_statistics" "proxy_statistics" {
30-
proxy_id = "link-8lpyo88p"
31-
start_time = "2023-10-09 00:00:00"
32-
end_time = "2023-10-09 23:59:59"
30+
proxy_id = "link-m9t4yho9"
31+
start_time = "2024-05-20 00:00:00"
32+
end_time = "2024-05-20 23:59:59"
3333
metric_names = ["InBandwidth", "OutBandwidth", "InFlow", "OutFlow", "InPackets", "OutPackets", "Concurrent", "HttpQPS", "HttpsQPS", "Latency", "PacketLoss"]
3434
granularity = 300
3535
}

tencentcloud/services/gaap/data_source_tc_gaap_rule_real_servers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ func TestAccTencentCloudGaapRuleRealServersDataSource_basic(t *testing.T) {
2828

2929
const testAccGaapRuleRealServersDataSource = `
3030
data "tencentcloud_gaap_rule_real_servers" "rule_real_servers" {
31-
rule_id = "rule-9sdhv655"
31+
rule_id = "rule-hddrxgpd"
3232
}
3333
`

0 commit comments

Comments
 (0)