Skip to content

Commit

Permalink
Adding a sleep time between runs
Browse files Browse the repository at this point in the history
  • Loading branch information
mukhoakash committed Mar 15, 2024
1 parent 020cb7c commit 061ebb5
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10666,6 +10666,9 @@ def test_aks_update_with_azurecontainerstorage(self, resource_group, resource_gr
self.check('provisioningState', 'Succeeded'),
])

# Sleep for 5 mins before next operation
time.sleep(5*60)

# enabling or disabling azurecontainerstorage will not affect any field in the cluster.
# the only check we should perform is to verify that the cluster is provisioned successfully.

Expand All @@ -10676,6 +10679,11 @@ def test_aks_update_with_azurecontainerstorage(self, resource_group, resource_gr
self.check('provisioningState', 'Succeeded'),
])

# Sleep for 5 mins before next operation,
# since azure container storage operations take
# some time to post process.
time.sleep(5 * 60)

# update: disable-azure-container-storage
update_cmd = 'aks update --resource-group={resource_group} --name={name} --yes --output=json ' \
'--disable-azure-container-storage all'
Expand Down

0 comments on commit 061ebb5

Please sign in to comment.