Skip to content
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

VCR acc test fixes #6507

Conversation

modular-magician
Copy link
Collaborator

Even more test fixes!

Getting a service account via getTestServiceAccountFromEnv skips the test depending on environment variables set. If this happens after we use a VCR-seeded random function (randString, etc) the test will attempt to read the seed file which never gets written because the test never passed. Putting getTestServiceAccountFromEnv first causes the tests to skip correctly

Release Note Template for Downstream PRs (will be copied)


Derived from GoogleCloudPlatform/magic-modules#3586

* Test commit

* Test commit

* Fix a couple more tests

* Wrong method name

* Fix more tests

* Ordering of getting service account

* Skip fine-grained test

* Skip iam test with fine-grained

Signed-off-by: Modular Magician <magic-modules@google.com>
@ghost ghost added the size/xs label Jun 2, 2020
@modular-magician modular-magician merged commit a8af524 into hashicorp:master Jun 2, 2020
@ghost
Copy link

ghost commented Jul 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@hashicorp hashicorp locked and limited conversation to collaborators Jul 2, 2020
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.

None yet

1 participant