Replaced BasePath usage in universe tests, acm, ad, alloydb, and apigee#17370
Replaced BasePath usage in universe tests, acm, ad, alloydb, and apigee#17370melinath merged 2 commits intoGoogleCloudPlatform:mainfrom
Conversation
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit b5eddb1: Diff reportYour PR generated the following diffs in downstream repositories:
Test reportAnalytics
Affected Service Packages
Step 1: Replaying Mode Action takenFound 16 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 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. 🔴 Replaying Rerun Failed: Some tests failed due to non-determinism when VCR replayed the response. 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 build log or the debug logs folder for detailed results. |
|
VCR failures look unrelated. In particular, the Apigee tests are failing the same way in nightly tests. |
3e261ae
This is an initial set of replacements of BasePath usage in handwritten files with the transport_tpg.BaseUrl function.
Note: String concatenation is used instead of URL joining because URL joining would escape
{}characters, preventing ReplaceVars from working properly.Options considered:
confighas to be passed twice.productto ReplaceVars and implicitly add the base URL to the beginning of the URL{{ProductNameBasePath}}variables, trim the BasePath suffix, look up the relevant product in the registry (with the lowercaseproductname), and compute its BaseUrl using the config that was also passed in.services, most of which are via ReplaceVars.)config.*BasePathfields: Handle *BasePath replacement with BaseUrl func #17385Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.