Skip to content

Commit

Permalink
[Refactor] CCE: Refactor CCE nodes (#2756)
Browse files Browse the repository at this point in the history
[Refactor] CCE: Refactor CCE nodes

Summary of the Pull Request
Apply changes from gopher in provider
PR Checklist

 Tests added/passed.
 Release notes added.

Acceptance Steps Performed
=== RUN   TestAccResourceCCENodesV3Basic
    resource_opentelekomcloud_cce_node_v3_test.go:45: Cluster is required by the test. 1 test(s) are using cluster.
    cluster.go:121: starting creating shared cluster
    cluster.go:117: Cluster usage is 0 now, ready to delete the cluster
    cluster.go:80: starting deleting shared cluster
--- PASS: TestAccResourceCCENodesV3Basic (742.68s)
=== NAME  TestAccResourceCCENodesV3EncryptedVolume
    cluster.go:117: Cluster is released by the test. 11 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3EncryptedVolume (262.20s)
=== NAME  TestAccResourceCCENodesV3Timeout
    cluster.go:117: Cluster is released by the test. 10 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3Timeout (272.40s)
=== NAME  TestAccResourceCCENodesV3IpNulls
    cluster.go:117: Cluster is released by the test. 9 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3IpNulls (293.45s)
=== NAME  TestAccResourceCCENodesV3IpWithExtendedParameters
    cluster.go:117: Cluster is released by the test. 8 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3IpWithExtendedParameters (303.52s)
=== NAME  TestAccResourceCCENodesV3IpCreate
    cluster.go:117: Cluster is released by the test. 7 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3IpCreate (335.90s)
=== NAME  TestAccResourceCCENodesV3_extendParams
    cluster.go:117: Cluster is released by the test. 5 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3_extendParams (548.83s)
=== NAME  TestAccResourceCCENodesV3Multiple
    cluster.go:117: Cluster is released by the test. 4 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3Multiple (586.56s)
=== NAME  TestAccResourceCCENodesV3_eipIds
    cluster.go:117: Cluster is released by the test. 3 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3_eipIds (676.41s)
=== NAME  TestAccResourceCCENodesV3BandWidthResize
    cluster.go:117: Cluster is released by the test. 2 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3BandWidthResize (915.95s)
=== NAME  TestAccResourceCCENodesV3OS
    cluster.go:117: Cluster is released by the test. 1 test(s) are still using cluster.
--- PASS: TestAccResourceCCENodesV3OS (929.26s)
=== NAME  TestAccResourceCCENodesV3IpSetNull
    cluster.go:117: Cluster usage is 0 now, ready to delete the cluster
    cluster.go:80: starting deleting shared cluster
--- PASS: TestAccResourceCCENodesV3IpSetNull (1143.53s)
PASS

Reviewed-by: Anton Sidelnikov
  • Loading branch information
muneeb-jan authored Dec 9, 2024
1 parent c0ea1f3 commit b725af3
Show file tree
Hide file tree
Showing 6 changed files with 190 additions and 172 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/jmespath/go-jmespath v0.4.0
github.com/keybase/go-crypto v0.0.0-20200123153347-de78d2cb44f4
github.com/mitchellh/go-homedir v1.1.0
github.com/opentelekomcloud/gophertelekomcloud v0.9.4-0.20241202142411-fd6fb8c8c54d
github.com/opentelekomcloud/gophertelekomcloud v0.9.4-0.20241205120206-477490ae82ff
github.com/unknwon/com v1.0.1
golang.org/x/crypto v0.23.0
golang.org/x/sync v0.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA
github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k+Mg7cowZ8yv4Trqw9UsJby758=
github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw=
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
github.com/opentelekomcloud/gophertelekomcloud v0.9.4-0.20241202142411-fd6fb8c8c54d h1:7bxIT3di/P4VxlwCoc8jkaeQzTh896lbWiHq3UbcA8E=
github.com/opentelekomcloud/gophertelekomcloud v0.9.4-0.20241202142411-fd6fb8c8c54d/go.mod h1:M1F6OfSRZRzAmAFKQqSLClX952at5hx5rHe4UTEykgg=
github.com/opentelekomcloud/gophertelekomcloud v0.9.4-0.20241205120206-477490ae82ff h1:VFHE+geNpvJV8NpJ2cRzqjpwevph9DL8ExWmubteCjc=
github.com/opentelekomcloud/gophertelekomcloud v0.9.4-0.20241205120206-477490ae82ff/go.mod h1:M1F6OfSRZRzAmAFKQqSLClX952at5hx5rHe4UTEykgg=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
Loading

0 comments on commit b725af3

Please sign in to comment.