-
Notifications
You must be signed in to change notification settings - Fork 2k
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
mgmt, migrate test-proxy #36079
mgmt, migrate test-proxy #36079
Conversation
API change check API changes are not detected in this pull request. |
String resourcePath = Paths.get(this.getClass().getResource("/session-records").toURI()).getParent().toString(); | ||
String resourcePath = Paths.get(this.getClass().getResource("/junit-platform.properties").toURI()).getParent().toString(); |
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.
we don't have /session-records
folder now.
new TestProxySanitizer("$..primaryKey", null, REDACTED_VALUE, TestProxySanitizerType.BODY_KEY), | ||
new TestProxySanitizer("$..secondaryKey", null, REDACTED_VALUE, TestProxySanitizerType.BODY_KEY), | ||
// ContainerRegistry | ||
new TestProxySanitizer("$..passwords[*].value", null, REDACTED_VALUE, TestProxySanitizerType.BODY_KEY) |
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.
for future tests in azure-resourcemanager and samples
public RegistryTest() { | ||
addSanitizers( | ||
new TestProxySanitizer(String.format("$..%s", "uploadUrl"), null, REDACTED_VALUE, TestProxySanitizerType.BODY_KEY), | ||
new TestProxySanitizer(String.format("$..%s", "logLink"), null, REDACTED_VALUE, TestProxySanitizerType.BODY_KEY) | ||
new TestProxySanitizer("$..uploadUrl", null, REDACTED_VALUE, TestProxySanitizerType.BODY_KEY), | ||
new TestProxySanitizer("$..logLink", null, REDACTED_VALUE, TestProxySanitizerType.BODY_KEY) | ||
); | ||
} |
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.
Perhaps we can put them all under ResourceManagerTestProxyTestBase
?
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.
This 2 is not unambiguously key name for secret. They could accidently match to other valid property in JSON. Hence I still put it in ACR instead of Base.
If we see more of them in other module, maybe we will, but with smaller scope e.g. $.logLink
if it is directly under root of response JSON.
LIVE test "canCRUDSqlServerWithImportDatabase" in sql runs forever.
LIVE test "canCRUDEnterpriseTierDeployment" in appplatform fails with
"canCreateCustomDomainWithSsl" fails on another problem.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines