appengine: keep auth_domain as hashicorptest.com in TestAccAppEngineApplication_basic update - #18754
Conversation
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit a46af4b: Diff reportYour PR generated the following diffs in downstream repositories:
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode 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
View the replaying VCR build log Step 2: Recording Mode
Caution Issues requiring attention before PR completion 🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details. Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer. View the recording VCR build log or the debug logs folder for detailed results. @SirGitsalot VCR tests complete for a46af4b! |
…pplication_basic update
a46af4b to
b391b21
Compare
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit b391b21: Diff reportYour PR generated the following diffs in downstream repositories:
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode 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
View the replaying VCR build log Step 2: Recording Mode
🟢 All tests passed! View the recording VCR build log or the debug logs folder for detailed results. @SirGitsalot VCR tests complete for b391b21! |
|
@modular-magician reassign-reviewer |
|
Googlers: For automatic test runs see go/terraform-auto-test-runs. @roaks3, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
roaks3
left a comment
There was a problem hiding this comment.
I think this implies that the field should be changed to force new?
AFAICT the field is still mutable, but there's now a check that domain is a valid Google Workspace domain. "hashicorptest.com" is such a domain so the creation succeeds. "tf-test.club" is not such domain, but used to work for the update step before the check was added. |
Fixes nightly acceptance test failure for
TestAccAppEngineApplication_basic.Root Cause & Fix
In
TestAccAppEngineApplication_basic, the update step previously changedauth_domainfrom"hashicorptest.com"to"tf-test.club". Updatingauth_domaintriggers an invalid update request in test environments.This change keeps
auth_domainset to"hashicorptest.com"in the update step inmmv1/third_party/terraform/services/appengine/resource_app_engine_application_test.go.