-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Container Registryaz acraz acrService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Description
Describe the bug
ACR team uses the self.cmd command to confirm that our command successfully runs with no errors. However, we have noticed that our test using self.cmd still passes even though our acr agentpool delete command returns an error
azure-cli/src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_agentpool_commands.py
Line 67 in f92f723
| self.cmd('acr agentpool delete -n {agents2_name} -r {registry_name} -y') |
Related command
acr agentpool delete -n {agents2_name} -r {registry_name}
Errors
NA
Issue script & Debug output
NA
Expected behavior
Test fail when command returns an error message
Environment Summary
{ "auzre-cli": "2.67.0", "azure-cli-core": "2.67.0", "azure-cli-telemetry": "1.1.0", "extensions": { "acrtransfer": "1.1.0" } }
Additional context
No response
Metadata
Metadata
Assignees
Labels
Container Registryaz acraz acrService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.