-
Notifications
You must be signed in to change notification settings - Fork 2.1k
mgmt redis , fix live test failures #47505
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 redis , fix live test failures #47505
Conversation
- Disabled canCRUDRedisCache test method - Disabled canCRUDLinkedServers test method - Disabled canCreateRedisWithRdbAof test method - Disabled canCreateRedisCacheWithDisablePublicNetworkAccess test method - Added explanatory comments for disabled tests regarding local authentication policy
- Disabled test case for updating public network access due to internal policy restrictions - Added @disabled annotation with explanation about local authentication methods not being allowed - Preserved existing test structure and comments for future reference
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.
Pull request overview
This PR disables five live tests in the Redis Cache operations test suite that are failing due to an internal Azure policy that blocks local authentication methods. The changes address issues #47504 and #47372.
Key Changes
- Added
@Disabledannotations to five test methods that interact with Redis Cache operations requiring local authentication - All disabled tests use a consistent message explaining the reason for disabling
| @Test | ||
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") |
Copilot
AI
Dec 9, 2025
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.
[nitpick] The order of @Test and @Disabled annotations is inconsistent with the existing disabled test at line 214. For consistency within this file, consider placing @Disabled before @Test:
@Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.")
@Test| @Test | |
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") | |
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") | |
| @Test |
| @Test | ||
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") |
Copilot
AI
Dec 9, 2025
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.
[nitpick] The order of @Test and @Disabled annotations is inconsistent with the existing disabled test at line 214. For consistency within this file, consider placing @Disabled before @Test:
@Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.")
@Test| @Test | ||
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") |
Copilot
AI
Dec 9, 2025
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.
[nitpick] The order of @Test and @Disabled annotations is inconsistent with the existing disabled test at line 214. For consistency within this file, consider placing @Disabled before @Test:
@Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.")
@Test| @Test | ||
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") |
Copilot
AI
Dec 9, 2025
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.
[nitpick] The order of @Test and @Disabled annotations is inconsistent with the existing disabled test at line 214. For consistency within this file, consider placing @Disabled before @Test:
@Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.")
@Test| @Test | |
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") | |
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") | |
| @Test |
| @Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.") | ||
| @SuppressWarnings("unchecked") |
Copilot
AI
Dec 9, 2025
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.
[nitpick] The order of @Test and @Disabled annotations is inconsistent across the test class. At line 214, the existing disabled test canRedisVersionUpdate() has @Disabled before @Test, while the newly added disabled tests have @Test before @Disabled.
While both orders are functionally equivalent in JUnit 5, maintaining consistency within the same file improves code readability. Consider using the same order as the existing disabled test:
@Disabled("This request was denied due to internal policy. Local authentication methods are not allowed.")
@Test
XiaofeiCao
left a comment
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.
Please help support disableLocalAuth
|
Supported disableLocalAuth, due to azure rule |
This request was denied due to internal policy. Local authentication methods are not allowed.
Add issues #47504
#47372
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