forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NetAppFiles: Tests from track1 copied and updated and new recordings …
…gathered (Azure#18919) * Tests from track1 copied and updates and new recordings gathered * trigger test pipeline rerun * Rerun live tests that fail in CI pipeline * fix for update backup policy test * try to fix test that fails in CI pipeline, only on macos and sometimes ubuntu * fix snapshot test
- Loading branch information
1 parent
7fd3e64
commit f559b78
Showing
48 changed files
with
56,177 additions
and
5,601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
-e ../../../tools/azure-sdk-tools | ||
-e ../../../tools/azure-devtools | ||
-e ../../../tools/azure-devtools | ||
-e ../../../sdk/identity/azure-identity |
354 changes: 354 additions & 0 deletions
354
sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,354 @@ | ||
interactions: | ||
- request: | ||
body: '{"location": "southcentralusstage"}' | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '29' | ||
Content-Type: | ||
- application/json | ||
User-Agent: | ||
- azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) | ||
method: PUT | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 | ||
response: | ||
body: | ||
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A55%3A42.5750399Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' | ||
headers: | ||
azure-asyncoperation: | ||
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/46e0b4ac-2da6-4642-8ec4-f00c9d57caff?api-version=2021-02-01 | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '355' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 08 Apr 2021 10:55:43 GMT | ||
etag: | ||
- W/"datetime'2021-04-08T10%3A55%3A42.5750399Z'" | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-IIS/10.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-ratelimit-remaining-subscription-writes: | ||
- '1199' | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 201 | ||
message: Created | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/46e0b4ac-2da6-4642-8ec4-f00c9d57caff?api-version=2021-02-01 | ||
response: | ||
body: | ||
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/46e0b4ac-2da6-4642-8ec4-f00c9d57caff","name":"46e0b4ac-2da6-4642-8ec4-f00c9d57caff","status":"Succeeded","startTime":"2021-04-08T10:55:42.5827604Z","endTime":"2021-04-08T10:55:42.8930986Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '518' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 08 Apr 2021 10:56:13 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-IIS/10.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 | ||
response: | ||
body: | ||
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A55%3A42.8832879Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '402' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 08 Apr 2021 10:56:13 GMT | ||
etag: | ||
- W/"datetime'2021-04-08T10%3A55%3A42.8832879Z'" | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-IIS/10.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts?api-version=2021-02-01 | ||
response: | ||
body: | ||
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A55%3A42.8832879Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}]}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '414' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 08 Apr 2021 10:56:13 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-IIS/10.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '0' | ||
User-Agent: | ||
- azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) | ||
method: DELETE | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
azure-asyncoperation: | ||
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/72754d62-2ba0-41d5-92ea-49d83b0a84f1?api-version=2021-02-01 | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '0' | ||
date: | ||
- Thu, 08 Apr 2021 10:56:14 GMT | ||
expires: | ||
- '-1' | ||
location: | ||
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/72754d62-2ba0-41d5-92ea-49d83b0a84f1?api-version=2021-02-01&operationResultResponseType=Location | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-IIS/10.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-ratelimit-remaining-subscription-deletes: | ||
- '14999' | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 202 | ||
message: Accepted | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/72754d62-2ba0-41d5-92ea-49d83b0a84f1?api-version=2021-02-01 | ||
response: | ||
body: | ||
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/72754d62-2ba0-41d5-92ea-49d83b0a84f1","name":"72754d62-2ba0-41d5-92ea-49d83b0a84f1","status":"Succeeded","startTime":"2021-04-08T10:56:14.9574615Z","endTime":"2021-04-08T10:56:15.1994892Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '518' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 08 Apr 2021 10:56:45 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Microsoft-IIS/10.0 | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 | ||
response: | ||
body: | ||
string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' | ||
under resource group ''sdk-net-test-qa7'' was not found. For more details | ||
please go to https://aka.ms/ARMResourceNotFoundFix"}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '239' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 08 Apr 2021 10:56:45 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
x-content-type-options: | ||
- nosniff | ||
x-ms-failure-cause: | ||
- gateway | ||
status: | ||
code: 404 | ||
message: Not Found | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts?api-version=2021-02-01 | ||
response: | ||
body: | ||
string: '{"value":[]}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '12' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 08 Apr 2021 10:56:45 GMT | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
Oops, something went wrong.