From ce4a37b80a0315f64c5d1d0240efbab4b3d67a0e Mon Sep 17 00:00:00 2001 From: Geun-Oh Date: Fri, 25 Oct 2024 16:07:12 +0900 Subject: [PATCH] fix: Remove tests that makes resources be remained --- .github/workflows/testScheduler.yml | 12 +++++++----- .../server/access_control_group_data_source_test.go | 5 +++++ .../service/server/public_ip_data_source_test.go | 10 ++++++++++ 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testScheduler.yml b/.github/workflows/testScheduler.yml index 29a218f0d..f1728dac2 100644 --- a/.github/workflows/testScheduler.yml +++ b/.github/workflows/testScheduler.yml @@ -23,7 +23,7 @@ jobs: "mongodb_loadbalancer", "redis_ses", "server", - "nks_mysql", + "mysql", "hadoop_mssql", "nasvolume_mongodb", ] @@ -36,12 +36,14 @@ jobs: tests: "mongodb loadbalancer" - agent: "server" tests: "server" - - agent: "nks_mysql" - tests: "nks mysql" + - agent: "mysql" + tests: "mysql" - agent: "hadoop_mssql" tests: "hadoop mssql" - #- agent: "autoscaling" - # tests: "autoscaling" + # - agent: "nks" + # tests: "nks" + # - agent: "autoscaling" + # tests: "autoscaling" - agent: "nasvolume_mongodb" tests: "nasvolume mongodb" diff --git a/internal/service/server/access_control_group_data_source_test.go b/internal/service/server/access_control_group_data_source_test.go index f40f718bc..aba780e3c 100644 --- a/internal/service/server/access_control_group_data_source_test.go +++ b/internal/service/server/access_control_group_data_source_test.go @@ -13,6 +13,11 @@ import ( ) func TestAccDataSourceNcloudVpcAccessControlGroupBasic(t *testing.T) { + /* + TODO - it's for atomicity of regression testing. remove when error has solved. + */ + t.Skip() + name := fmt.Sprintf("tf-ds-acg-basic-%s", acctest.RandString(5)) dataName := "data.ncloud_access_control_group.by_id" resourceName := "ncloud_access_control_group.test" diff --git a/internal/service/server/public_ip_data_source_test.go b/internal/service/server/public_ip_data_source_test.go index 657b75772..894fc59c8 100644 --- a/internal/service/server/public_ip_data_source_test.go +++ b/internal/service/server/public_ip_data_source_test.go @@ -13,6 +13,11 @@ import ( ) func TestAccDataSourceNcloudPublicIp_classic_basic(t *testing.T) { + /* + TODO - it's for atomicity of regression testing. remove when error has solved. + */ + t.Skip() + resourceName := "ncloud_public_ip.public_ip" dataName := "data.ncloud_public_ip.test" name := fmt.Sprintf("tf-public-ip-basic-%s", acctest.RandString(5)) @@ -41,6 +46,11 @@ func TestAccDataSourceNcloudPublicIp_classic_basic(t *testing.T) { } func TestAccDataSourceNcloudPublicIp_vpc_basic(t *testing.T) { + /* + TODO - it's for atomicity of regression testing. remove when error has solved. + */ + t.Skip() + resourceName := "ncloud_public_ip.public_ip" dataName := "data.ncloud_public_ip.test" name := fmt.Sprintf("tf-public-ip-basic-%s", acctest.RandString(5))