Skip to content
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

Update tests and live runs for new R4.5 RP version #6218

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,323 changes: 867 additions & 456 deletions sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,250 changes: 1,482 additions & 768 deletions sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml

Large diffs are not rendered by default.

1,723 changes: 1,093 additions & 630 deletions sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml

Large diffs are not rendered by default.

1,793 changes: 1,191 additions & 602 deletions sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions sdk/netapp/azure-mgmt-netapp/tests/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# - rg must exist
# - vnet must exist

TEST_RG='sdk-net-tests-rg-eus2'
TEST_RG='sdk-net-tests-rg-wus'
TEST_ACC_1='sdk-py-tests-acc-1'
TEST_ACC_2='sdk-py-tests-acc-2'
TEST_POOL_1='sdk-py-tests-pool-1'
Expand All @@ -15,8 +15,8 @@
TEST_SNAPSHOT_2='sdk-py-tests-snapshot-2'
DEFAULT_SIZE=4398046511104
GIGABYTE=1024 * 1024 * 1024
SUBSID='subsid'
SUBSID='0661b131-4a11-479b-96bf-2f95acca2f73'
SERVICE_LEVEL='Premium'
LOCATION='eastus2'
VNET='sdk-net-tests-rg-eus2-vnet'
LOCATION='westcentralus'
VNET='sdk-net-tests-rg-wus-vnet'
SERVICE_LEVEL='Premium'
2 changes: 1 addition & 1 deletion sdk/netapp/azure-mgmt-netapp/tests/test_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def wait_for_no_pool(client, rg, acc_name, pool_name, live=False):
while co<5:
co += 1
if live:
time.sleep(5)
time.sleep(10)
try:
pool = client.pools.get(rg, acc_name, pool_name)
except:
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def delete_snapshot(client, rg, account_name, pool_name, volume_name, snapshot_n
while co<5:
co += 1
if live:
time.sleep(5)
time.sleep(20)
try:
snapshot = client.snapshots.get(rg, account_name, pool_name, volume_name, snapshot_namne)
except:
Expand Down
4 changes: 2 additions & 2 deletions sdk/netapp/azure-mgmt-netapp/tests/test_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def wait_for_no_volume(client, rg, account_name, pool_name, volume_name, live=Fa
while co<10:
co += 1
if live:
time.sleep(5)
time.sleep(200)
try:
get_volume(client, rg, account_name, pool_name, volume_name)
except:
Expand All @@ -63,7 +63,7 @@ def wait_for_volume(client, rg, account_name, pool_name, volume_name, live=False
while co<10:
co += 1
if live:
time.sleep(5)
time.sleep(10)
try:
get_volume(client, rg, account_name, pool_name, volume_name)
break
Expand Down