-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix TestAccFirebaseWebApp_firebaseWebAppFull #9251
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. Terraform Beta: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
Tests analyticsTotal tests: 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 testsTestAccCloudRunService_cloudRunServiceSqlExample |
|
/gcbrun |
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 Beta: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
Tests analyticsTotal tests:
|
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.
There is a bug in the API. Just to unblock this test, could you change the two instances ofbrowser_key_restrictions
to allowed_referrers = []
?
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 Beta: Diff ( 1 file changed, 3 insertions(+), 3 deletions(-)) |
new failure is
Looks like the API (google_apikeys_key) doesn't return back |
Tests analyticsTotal tests:
|
That is weird. Since the purpose of this test is just to update the apiKeyId on the WebApp, let's remove the |
Tests analyticsTotal tests:
|
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.
TestAccFirebaseWebApp_firebaseWebAppCustomApiKeyExample
appears to be passing while still having the removed block in this test using the wildcard, do we know why the scenarios are different? I assume it's the b/310012020 issue, but the failure above suggests the error happening before an update step was hit, and if the issue is still present in the provider should the test highlighting it still be temporarily changed?
The API only checks the the allowed referrers of the API key when trying to update the |
Sorry, I kept editing my above comment so I think the specific thing I'm asking got missed -- the failure posted above seemed to suggest it was a permadiff being hit before the update case was attempted (i.e. step 1/4 plan was not empty), so all that happened was the initial creation, and the only other difference is the presence of the |
There are two separate failures. 1. Therefore, the only option at the moment is to make an unrestricted API key for testing updating the |
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.
Ah ok I'm seeing now, the perma-diff happened with an empty field as opposed to a wildcard. Since as you said the point of the test here is to verify the ability to update the API key, LGTM
fixes hashicorp/terraform-provider-google#16164
Release Note Template for Downstream PRs (will be copied)