Skip to content

Service tests#1486

Merged
jrhouston merged 2 commits intomainfrom
service-tests
Nov 15, 2021
Merged

Service tests#1486
jrhouston merged 2 commits intomainfrom
service-tests

Conversation

@alexsomesan
Copy link
Member

Description

This carries over the Service acceptance tests added by @redeux in hashicorp/terraform-provider-kubernetes-alpha#198

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Output from acceptance testing:

$ go test -v -tags acceptance ./manifest/test/acceptance -test.run 'TestKubernetesManifest_Service'
2021/11/09 16:29:09 Testing against Kubernetes API version: v1.21.1
=== RUN   TestKubernetesManifest_Service_ClusterIP
--- PASS: TestKubernetesManifest_Service_ClusterIP (3.94s)
=== RUN   TestKubernetesManifest_Service_ExternalName
--- PASS: TestKubernetesManifest_Service_ExternalName (4.04s)
=== RUN   TestKubernetesManifest_Service_LoadBalancer
--- PASS: TestKubernetesManifest_Service_LoadBalancer (4.05s)
=== RUN   TestKubernetesManifest_Service_NodePort
--- PASS: TestKubernetesManifest_Service_NodePort (4.05s)
=== RUN   TestKubernetesManifest_Service
--- PASS: TestKubernetesManifest_Service (3.97s)
PASS
ok      github.com/hashicorp/terraform-provider-kubernetes/manifest/test/acceptance     20.147s

Release Note

Release note for CHANGELOG:

...

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

@jrhouston jrhouston merged commit 2bfef69 into main Nov 15, 2021
@jrhouston jrhouston deleted the service-tests branch November 15, 2021 16:12
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants