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 ignore tests #2069

Conversation

modular-magician
Copy link
Collaborator

Add support for ignoring tests during VCR test runs. Fix more tests

Move writing new seeds to the end of a test process alongside writing the cassette yaml. This prevents the seed and yaml from getting out of sync if a test fails during RECORDING mode.

~20 tests failing at this point

Release Note Template for Downstream PRs (will be copied)

Derived from GoogleCloudPlatform/magic-modules#3486

* Missed acctest.Randoms, add support for skipIfVcr

* Add skip_vcr to tests, more fixes for failing vcr tests

* Fix compile

* Comment on why / path replace is needed

* Rubocop line length

* Ignores for instance template tests with generated ids, multiple fine-grained resources in single step

* Add more ignores, rework VCR file writing to only write when test succeeds

* Add notes on why specific tests fail VCR

* Spaces...

Signed-off-by: Modular Magician <[email protected]>
@ghost ghost added the size/l label May 14, 2020
@modular-magician modular-magician merged commit d01f4f8 into hashicorp:master May 14, 2020
@modular-magician modular-magician deleted the downstream-pr-269619ff4776a3059c1de63ad93bcdd343e3554d branch November 16, 2024 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant