Skip to content

Commit 9c85bfb

Browse files
tongyimingmikatong
andauthored
Fix/unit test (#788)
* [fix] NPE * [feat] unit-test support parallel Co-authored-by: mikatong <mikatong@tencent.com>
1 parent 542c0d2 commit 9c85bfb

File tree

289 files changed

+427
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+427
-18
lines changed

tencentcloud/data_source_tc_address_template_groups_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
var testDataAddressTemplateGroupsNameAll = "data.tencentcloud_address_template_groups.all_test"
1010

1111
func TestAccTencentCloudDataAddressTemplateGroups(t *testing.T) {
12+
t.Parallel()
1213
resource.Test(t, resource.TestCase{
1314
PreCheck: func() { testAccPreCheck(t) },
1415
Providers: testAccProviders,

tencentcloud/data_source_tc_address_templates_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
var testDataAddressTemplatesNameAll = "data.tencentcloud_address_templates.all_test"
1010

1111
func TestAccTencentCloudDataAddressTemplates(t *testing.T) {
12+
t.Parallel()
1213
resource.Test(t, resource.TestCase{
1314
PreCheck: func() { testAccPreCheck(t) },
1415
Providers: testAccProviders,

tencentcloud/data_source_tc_api_gateway_api_keys_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
var testAPIGatewayAPIKeysDataSourceName = "data.tencentcloud_api_gateway_api_keys"
1010

1111
func TestAccTencentAPIGatewayAPIKeysDataSource(t *testing.T) {
12+
t.Parallel()
1213
resource.Test(t, resource.TestCase{
1314
PreCheck: func() { testAccPreCheck(t) },
1415
Providers: testAccProviders,

tencentcloud/data_source_tc_api_gateway_apis_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
var testAPIGatewayAPIsDataSourceName = "data.tencentcloud_api_gateway_apis"
1010

1111
func TestAccTencentAPIGatewayAPIsDataSource(t *testing.T) {
12+
t.Parallel()
1213
resource.Test(t, resource.TestCase{
1314
PreCheck: func() { testAccPreCheck(t) },
1415
Providers: testAccProviders,

tencentcloud/data_source_tc_api_gateway_customer_domains_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
var testAPIGatewayDomainSourceName = "data.tencentcloud_api_gateway_customer_domains"
1010

1111
func TestAccTencentAPIGatewayCustomerDomain(t *testing.T) {
12+
t.Parallel()
1213
resource.Test(t, resource.TestCase{
1314
PreCheck: func() { testAccPreCheck(t) },
1415
Providers: testAccProviders,

tencentcloud/data_source_tc_api_gateway_ip_strategies_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var (
1212
)
1313

1414
func TestAccTencentAPIGatewayIpStrategyDataSource(t *testing.T) {
15+
t.Parallel()
1516
resource.Test(t, resource.TestCase{
1617
PreCheck: func() { testAccPreCheck(t) },
1718
Providers: testAccProviders,

tencentcloud/data_source_tc_api_gateway_services_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
var testAPIGatewayServicesDataSourceName = "data.tencentcloud_api_gateway_services"
1010

1111
func TestAccTencentAPIGatewayServicesDataSource(t *testing.T) {
12+
t.Parallel()
1213
resource.Test(t, resource.TestCase{
1314
PreCheck: func() { testAccPreCheck(t) },
1415
Providers: testAccProviders,

tencentcloud/data_source_tc_api_gateway_throttling_apis_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
var testAPIGatewaythrottlingApiDataSourceName = "data.tencentcloud_api_gateway_throttling_apis"
1010

1111
func TestAccTencentAPIGatewayThrottlingApisDataSource(t *testing.T) {
12+
t.Parallel()
1213
resource.Test(t, resource.TestCase{
1314
PreCheck: func() { testAccPreCheck(t) },
1415
Providers: testAccProviders,

tencentcloud/data_source_tc_api_gateway_throttling_services_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
var testAPIGatewaythrottlingServiceDataSourceName = "data.tencentcloud_api_gateway_throttling_services"
1010

1111
func TestAccTencentAPIGatewayThrottlingServicesDataSource(t *testing.T) {
12+
t.Parallel()
1213
resource.Test(t, resource.TestCase{
1314
PreCheck: func() { testAccPreCheck(t) },
1415
Providers: testAccProviders,

tencentcloud/data_source_tc_api_gateway_usage_plan_environments_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var (
1212
)
1313

1414
func TestAccTencentAPIGatewayUsagePlanEnvironmentsDataSource(t *testing.T) {
15+
t.Parallel()
1516
resource.Test(t, resource.TestCase{
1617
PreCheck: func() { testAccPreCheck(t) },
1718
Providers: testAccProviders,

0 commit comments

Comments
 (0)