-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Remove rotation_period config from TestAccLoggingBucketConfigProject_cmekSettings #7020
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
Conversation
…cmekSettings so VCR tests can match to prior runs
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 1 file changed, 2 deletions(-)) |
Tests analyticsTotal tests: Action takenTriggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed testsTestAccContainerCluster_withInvalidGatewayApiConfigChannel|TestAccComputeForwardingRule_update|TestAccDataSourceGoogleServiceAccountJwt|TestAccLoggingBucketConfigProject_cmekSettings |
|
Tests passed during RECORDING mode: All tests passed |
|
@zli82016 I think I have the right solution here, but wanted to confirm with you that it makes sense and that the |
zli82016
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. rotation_period is optional and can be removed.
c2thorn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice find.
…cmekSettings so VCR tests can match to prior runs (GoogleCloudPlatform#7020)
…cmekSettings so VCR tests can match to prior runs (GoogleCloudPlatform#7020)
fixes hashicorp/terraform-provider-google#13259
A large number of our PRs are running the
TestAccLoggingBucketConfigProject_cmekSettingsin RECORDING mode, even if they have not modified any related code. This is happening because therotation_periodfor thecrypto_keys introduces a time element that changes on subsequent runs, and the API requests cannot match against previous calls.This PR removes the
rotation_periodconfig to hopefully make the API calls matchable again.If this PR is for Terraform, I acknowledge that I have:
make testandmake lintto ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)