[Test Proxy] Add error response when start test proxy#26155
[Test Proxy] Add error response when start test proxy#26155mccoyp merged 5 commits intoAzure:mainfrom ponopono0322:Add-error-response-test-proxy
Conversation
|
Thank you for your contribution ponopono0322! We will review the pull request and get back to you soon. |
mccoyp
left a comment
There was a problem hiding this comment.
Thank you so much for opening this PR! I'm so sorry I didn't see this earlier, since I didn't get automatically added as a reviewer. I just have a small wording change suggestion, but this is a great change -- thanks again!
|
By the way, this doesn't seem to be a perfect solution. Can I continue like this? |
mccoyp
left a comment
There was a problem hiding this comment.
Sorry about the late response again! 🙁 I think this is actually a good solution -- I considered if we should raise an actual exception instead of logging errors, but I think it's better to not block users in case they have a unique configuration. Minimizing erroneous logs by ensuring our proxy endpoint actually needs a certificate will improve this, but it's still a great change in my opinion!
Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
|
Thank you for your approval @mccoyp . I tried to merge it myself, but it comes out as below. May I ask for the approval of the merge? |
|
Hi @ponopono0322, I was out of office last week but am just trying this on my end before merging to make sure it's all in order 🙂 |
…into add_multiapi_combiner * 'main' of https://github.com/Azure/azure-sdk-for-python: (557 commits) [ML] Fix job.services transformation for pipeline jobs (Azure#27422) fix: explicitly check using is not None (Azure#27587) [Pipeline] Convert mldesigner primitive annotation to Input type (Azure#27539) code and test (Azure#27586) [ML][Pipelines] Enable Pipelines owned skip tests (Azure#27540) Update Language-Settings.ps1 (Azure#27531) ci: enable test_dump_distribution (Azure#27535) code and test (Azure#27553) Increment package version after release of azure-ai-textanalytics (Azure#27583) fix doc for autodetect default language (Azure#27577) [Tables] Regen with latest autorest (Azure#27205) [TA] regen on latest spec (Azure#27486) Enforce Package name approval for preview release (Azure#27573) Remove manual conda test stage (Azure#27576) [Test Proxy] Add error response when starting test proxy (Azure#26155) Update test_registry.py (Azure#27574) Explicitly disable storage blob public access for workspace templates (Azure#27396) Use the new audience field (Azure#27571) Sync eng/common directory with azure-sdk-tools for PR 4628 (Azure#27455) fix non-pipeline-input with annotation and default value (Azure#27492) ...

Description
Fix #26138.
If provide the
-o log_cli=trueoption at the starting the test proxy,example:
you can get the log:
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines