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

Upgrade VCR to v3 #1650

Merged
merged 24 commits into from
Aug 18, 2023
Merged

Upgrade VCR to v3 #1650

merged 24 commits into from
Aug 18, 2023

Conversation

monde
Copy link
Collaborator

@monde monde commented Jul 27, 2023

  • Upgrades our VCR to version 3 that allows more tests to be recorded
  • Re-record OIE and Classic org cassettes
  • Fix some tests
  • Smooth out some of the TF plugin framework and Okta SDK v2/v3 code

@monde monde marked this pull request as draft July 27, 2023 21:25
@MikeMondragon-okta MikeMondragon-okta force-pushed the vcr_v3_upgrade branch 7 times, most recently from 35e5ae5 to d31b416 Compare August 3, 2023 19:51
@MikeMondragon-okta MikeMondragon-okta force-pushed the vcr_v3_upgrade branch 2 times, most recently from f0939e6 to 1ea80e7 Compare August 4, 2023 22:37
OKTA_VCR_TF_ACC=play make testacc TEST=./okta TESTARGS='-run=TestAccDataSourceOktaBrand_read'
OKTA_VCR_CASSETTE=mm-oie-2022-10-07-max OKTA_VCR_TF_ACC=play make testacc TEST=./okta TESTARGS='-run=TestAccDataSourceOktaBrand_read'
OKTA_VCR_CASSETTE=mm-classic-2022-10-04 OKTA_VCR_TF_ACC=play TF_ACC=1 go test -tags unit -mod=readonly -test.v -run ^TestAccDataSourceOktaBrand_read$ ./okta
OKTA_VCR_TF_ACC=play TF_ACC=1 go test -tags unit -mod=readonly -test.v -run ^TestAccDataSourceOktaBrand_read$ ./okta
Removing v2 VCR cassettes that have had their tests removed or are no
longer passing.

Recorded 33 new cassettes for passing tests.

199 VCR cassettes for a classic org

re-record OIE and Classic org VCR cassettes.
lucky of a request is made outside of VCR's http transport.
@monde monde marked this pull request as ready for review August 16, 2023 00:17
@MikeMondragon-okta MikeMondragon-okta merged commit 77e401a into master Aug 18, 2023
1 check passed
@monde monde mentioned this pull request Aug 18, 2023
@MikeMondragon-okta MikeMondragon-okta deleted the vcr_v3_upgrade branch August 18, 2023 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants