Skip to content

Commit

Permalink
revert polling change
Browse files Browse the repository at this point in the history
  • Loading branch information
Mai Nguyen (from Dev Box) committed Dec 6, 2024
1 parent fa7a447 commit cafde21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/command_modules/acr/agentpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def acr_agentpool_delete(cmd,
try:
response = client.begin_delete(resource_group_name=resource_group_name,
registry_name=registry_name,
agent_pool_name=agent_pool_name).result()
agent_pool_name=agent_pool_name)

if no_wait:
logger.warning("Started to delete the agent pool '%s': %s", agent_pool_name, response.status())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only

from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only, live_only

class AcrAgentPoolCommandsTests(ScenarioTest):

@live_only()
@ResourceGroupPreparer()
def test_acr_agentpool(self, resource_group):
# Agentpool prerequisites for agentpool testing
Expand Down

0 comments on commit cafde21

Please sign in to comment.