Skip to content

Commit ae78eab

Browse files
rudolfzhaorudolfzhao
andauthored
Gaap test fix (#2642)
* 修改资源ID * 修改测试用例资源 * 修改测试用例资源 --------- Co-authored-by: rudolfzhao <rudolfzhao@tencent.com>
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
}

0 commit comments

Comments
 (0)