Skip to content

Commit

Permalink
[Storage] Migrate test_retry.py to test proxy (Azure#25681)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenttran-msft authored and mccoyp committed Sep 22, 2022
1 parent 5ad5186 commit 97dcbf9
Show file tree
Hide file tree
Showing 46 changed files with 2,554 additions and 3,130 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
{
"Entries": [
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer8eae2683?restype=container",
"RequestMethod": "PUT",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Content-Length": "0",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:12 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 201,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 20:49:12 GMT",
"ETag": "\u00220x8DA7BDAF28D6250\u0022",
"Last-Modified": "Thu, 11 Aug 2022 20:49:12 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
},
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer8eae2683?restype=container",
"RequestMethod": "GET",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:12 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 200,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 20:49:12 GMT",
"ETag": "\u00220x8DA7BDAF28D6250\u0022",
"Last-Modified": "Thu, 11 Aug 2022 20:49:12 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"Vary": "Origin",
"x-ms-default-encryption-scope": "$account-encryption-key",
"x-ms-deny-encryption-scope-override": "false",
"x-ms-has-immutability-policy": "false",
"x-ms-has-legal-hold": "false",
"x-ms-immutable-storage-with-versioning-enabled": "false",
"x-ms-lease-state": "available",
"x-ms-lease-status": "unlocked",
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
},
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer8eae2683?restype=container",
"RequestMethod": "GET",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:14 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 200,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 20:49:13 GMT",
"ETag": "\u00220x8DA7BDAF28D6250\u0022",
"Last-Modified": "Thu, 11 Aug 2022 20:49:12 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"Vary": "Origin",
"x-ms-default-encryption-scope": "$account-encryption-key",
"x-ms-deny-encryption-scope-override": "false",
"x-ms-has-immutability-policy": "false",
"x-ms-has-legal-hold": "false",
"x-ms-immutable-storage-with-versioning-enabled": "false",
"x-ms-lease-state": "available",
"x-ms-lease-status": "unlocked",
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
},
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer8eae2683?restype=container",
"RequestMethod": "GET",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:26 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 200,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 20:49:25 GMT",
"ETag": "\u00220x8DA7BDAF28D6250\u0022",
"Last-Modified": "Thu, 11 Aug 2022 20:49:12 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"Vary": "Origin",
"x-ms-default-encryption-scope": "$account-encryption-key",
"x-ms-deny-encryption-scope-override": "false",
"x-ms-has-immutability-policy": "false",
"x-ms-has-legal-hold": "false",
"x-ms-immutable-storage-with-versioning-enabled": "false",
"x-ms-lease-state": "available",
"x-ms-lease-status": "unlocked",
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
},
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer8eae2683?restype=container",
"RequestMethod": "GET",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:53 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 200,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 20:49:52 GMT",
"ETag": "\u00220x8DA7BDAF28D6250\u0022",
"Last-Modified": "Thu, 11 Aug 2022 20:49:12 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"Vary": "Origin",
"x-ms-default-encryption-scope": "$account-encryption-key",
"x-ms-deny-encryption-scope-override": "false",
"x-ms-has-immutability-policy": "false",
"x-ms-has-legal-hold": "false",
"x-ms-immutable-storage-with-versioning-enabled": "false",
"x-ms-lease-state": "available",
"x-ms-lease-status": "unlocked",
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
},
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer8eae2683?restype=container",
"RequestMethod": "DELETE",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Content-Length": "0",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:53 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 202,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 20:49:52 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
}
],
"Variables": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"Entries": [],
"Variables": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"Entries": [],
"Variables": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"Entries": [
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainerf28824c3?restype=container",
"RequestMethod": "PUT",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Content-Length": "0",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 22:43:17 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 201,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 22:43:17 GMT",
"ETag": "\u00220x8DA7BEAE2A99D2B\u0022",
"Last-Modified": "Thu, 11 Aug 2022 22:43:18 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
},
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainerf28824c3?restype=container",
"RequestMethod": "DELETE",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Content-Length": "0",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 22:43:18 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 202,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 22:43:17 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
}
],
"Variables": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"Entries": [
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainerccc32457?restype=container",
"RequestMethod": "PUT",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Content-Length": "0",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:08 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 201,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 20:49:08 GMT",
"ETag": "\u00220x8DA7BDAF02FCEDA\u0022",
"Last-Modified": "Thu, 11 Aug 2022 20:49:08 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
},
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainerccc32457?restype=container",
"RequestMethod": "PUT",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Content-Length": "0",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:12 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 409,
"ResponseHeaders": {
"Content-Length": "230",
"Content-Type": "application/xml",
"Date": "Thu, 11 Aug 2022 20:49:11 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"x-ms-error-code": "ContainerAlreadyExists",
"x-ms-version": "2021-08-06"
},
"ResponseBody": [
"\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003CError\u003E\u003CCode\u003EContainerAlreadyExists\u003C/Code\u003E\u003CMessage\u003EThe specified container already exists.\n",
"RequestId:ac7e2bd6-501e-00a2-77c3-adcc38000000\n",
"Time:2022-08-11T20:49:12.2157656Z\u003C/Message\u003E\u003C/Error\u003E"
]
},
{
"RequestUri": "https://storagename.blob.core.windows.net/utcontainerccc32457?restype=container",
"RequestMethod": "DELETE",
"RequestHeaders": {
"Accept": "application/xml",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"Content-Length": "0",
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
"x-ms-date": "Thu, 11 Aug 2022 20:49:12 GMT",
"x-ms-version": "2021-08-06"
},
"RequestBody": null,
"StatusCode": 202,
"ResponseHeaders": {
"Content-Length": "0",
"Date": "Thu, 11 Aug 2022 20:49:11 GMT",
"Server": [
"Windows-Azure-Blob/1.0",
"Microsoft-HTTPAPI/2.0"
],
"x-ms-version": "2021-08-06"
},
"ResponseBody": null
}
],
"Variables": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"Entries": [],
"Variables": {}
}
Loading

0 comments on commit 97dcbf9

Please sign in to comment.