gkehub: Fix TestAccGKEHubFeatureMembership_gkehubFeaturePolicyController#16568
Conversation
|
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. |
BBBmau
left a comment
There was a problem hiding this comment.
Addressing the breaking change comment, this wouldn't be a breaking change as it already performs the default set on the API side. I don't think we have the ability to set Computed override on DCL resources. I can look into adding this in if we choose not to go with a client-side default value
| - type: CUSTOM_DEFAULT | ||
| field: policycontroller.policy_controller_hub_config.audit_interval_seconds | ||
| details: | ||
| default: 60 No newline at end of file |
There was a problem hiding this comment.
| - type: CUSTOM_DEFAULT | |
| field: policycontroller.policy_controller_hub_config.audit_interval_seconds | |
| details: | |
| default: 60 | |
| - type: CUSTOM_SCHEMA_VALUES | |
| field: policycontroller.policy_controller_hub_config.audit_interval_seconds | |
| details: | |
| computed: true |
I may have that syntax wrong, but that's roughly what we need for O+C I think! tpgtools was very literal about replacements of things in overrides, since we'd have expected to make most nontrivial changes against the DCL itself.
|
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. |
|
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.
|
| details: | ||
| keyname: component_name No newline at end of file | ||
| keyname: component_name | ||
| - type: CUSTOM_SCHEMA_VALUES |
There was a problem hiding this comment.
You'll additionally want to apply these changes to https://github.com/BBBmau/magic-modules/blob/3436f62e6e4007ee874d78eb4c02e1731979f200/tpgtools/overrides/gkehub/beta/feature_membership.yaml
|
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.
|
Tests analyticsTotal tests: 12 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
We've been seeing consistent failures when looking at
nightly-tests:It appears that the value
audit-interval_secondshas a default value set by the api when no value is set. Because of this we get a plan not empty after the third step configuration is applied due to the configuration not containing a value set onaudit_interval_secondWe should see a passing VCR test on
TestAccGKEHubFeatureMembership_gkehubFeaturePolicyControllerRelease Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.