Skip to content

Commit

Permalink
fix: Remove tests that makes resources be remained
Browse files Browse the repository at this point in the history
  • Loading branch information
Geun-Oh committed Oct 25, 2024
1 parent 31fd534 commit ce4a37b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/testScheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
"mongodb_loadbalancer",
"redis_ses",
"server",
"nks_mysql",
"mysql",
"hadoop_mssql",
"nasvolume_mongodb",
]
Expand All @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 10 additions & 0 deletions internal/service/server/public_ip_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit ce4a37b

Please sign in to comment.