Skip to content

Service tests #1486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 15, 2021
Merged

Service tests #1486

merged 2 commits into from
Nov 15, 2021

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