Skip to content

Commit

Permalink
NFSAAS-2843 update tests for R4.5 (#6218)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardbf authored and lmazuel committed Jul 3, 2019
1 parent 9cb4eb1 commit 27b9119
Show file tree
Hide file tree
Showing 22 changed files with 16,691 additions and 8,548 deletions.

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

0 comments on commit 27b9119

Please sign in to comment.