-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tables] Migrate to new test proxy (#21321)
- Loading branch information
1 parent
a66fb7a
commit 3e3fbe8
Showing
1,160 changed files
with
131,025 additions
and
137,320 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
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
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
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
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
117 changes: 117 additions & 0 deletions
117
...tables/azure-data-tables/tests/recordings/test_retry.pyTestStorageRetrytest_no_retry.json
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,117 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", | ||
"RequestMethod": "POST", | ||
"RequestHeaders": { | ||
"Accept": "application/json;odata=minimalmetadata", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "32", | ||
"Content-Type": "application/json;odata=nometadata", | ||
"DataServiceVersion": "3.0", | ||
"Date": "Mon, 18 Oct 2021 21:58:35 GMT", | ||
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)", | ||
"x-ms-client-request-id": "8b0bb1e3-305e-11ec-ad70-5cf37093a909", | ||
"x-ms-date": "Mon, 18 Oct 2021 21:58:35 GMT", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"RequestBody": "{\u0022TableName\u0022: \u0022uttablee5cc21c0\u0022}", | ||
"StatusCode": 201, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", | ||
"Date": "Mon, 18 Oct 2021 21:58:29 GMT", | ||
"Location": "https://fakeendpoint.table.core.windows.net/Tables(\u0027uttablee5cc21c0\u0027)", | ||
"Server": [ | ||
"Windows-Azure-Table/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-client-request-id": "8b0bb1e3-305e-11ec-ad70-5cf37093a909", | ||
"x-ms-request-id": "5762714b-2002-0015-386b-c4666e000000", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"ResponseBody": { | ||
"odata.metadata": "https://fakeendpoint.table.core.windows.net/$metadata#Tables/@Element", | ||
"TableName": "uttablee5cc21c0" | ||
} | ||
}, | ||
{ | ||
"RequestUri": "https://fakeendpoint.table.core.windows.net/Tables(\u0027uttablee5cc21c0\u0027)", | ||
"RequestMethod": "DELETE", | ||
"RequestHeaders": { | ||
"Accept": "application/json", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "0", | ||
"Date": "Mon, 18 Oct 2021 21:58:36 GMT", | ||
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)", | ||
"x-ms-client-request-id": "8b14d3a1-305e-11ec-b866-5cf37093a909", | ||
"x-ms-date": "Mon, 18 Oct 2021 21:58:36 GMT", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 204, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Length": "0", | ||
"Date": "Mon, 18 Oct 2021 21:58:29 GMT", | ||
"Server": [ | ||
"Windows-Azure-Table/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-client-request-id": "8b14d3a1-305e-11ec-b866-5cf37093a909", | ||
"x-ms-request-id": "57627152-2002-0015-3e6b-c4666e000000", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"ResponseBody": null | ||
}, | ||
{ | ||
"RequestUri": "https://fakeendpoint.table.core.windows.net/Tables(\u0027uttablee5cc21c0\u0027)", | ||
"RequestMethod": "DELETE", | ||
"RequestHeaders": { | ||
"Accept": "application/json", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "0", | ||
"Date": "Mon, 18 Oct 2021 21:58:36 GMT", | ||
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)", | ||
"x-ms-client-request-id": "8b189c34-305e-11ec-b634-5cf37093a909", | ||
"x-ms-date": "Mon, 18 Oct 2021 21:58:36 GMT", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 404, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", | ||
"Date": "Mon, 18 Oct 2021 21:58:29 GMT", | ||
"Server": [ | ||
"Windows-Azure-Table/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-client-request-id": "8b189c34-305e-11ec-b634-5cf37093a909", | ||
"x-ms-request-id": "57627156-2002-0015-426b-c4666e000000", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"ResponseBody": { | ||
"odata.error": { | ||
"code": "ResourceNotFound", | ||
"message": { | ||
"lang": "en-US", | ||
"value": "The specified resource does not exist.\nRequestId:57627156-2002-0015-426b-c4666e000000\nTime:2021-10-18T21:58:30.2926335Z" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"Variables": {} | ||
} |
160 changes: 160 additions & 0 deletions
160
...data-tables/tests/recordings/test_retry.pyTestStorageRetrytest_retry_on_server_error.json
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,160 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", | ||
"RequestMethod": "POST", | ||
"RequestHeaders": { | ||
"Accept": "application/json;odata=minimalmetadata", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "32", | ||
"Content-Type": "application/json;odata=nometadata", | ||
"DataServiceVersion": "3.0", | ||
"Date": "Mon, 18 Oct 2021 21:58:32 GMT", | ||
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)", | ||
"x-ms-client-request-id": "8907585b-305e-11ec-9b7a-5cf37093a909", | ||
"x-ms-date": "Mon, 18 Oct 2021 21:58:32 GMT", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"RequestBody": "{\u0022TableName\u0022: \u0022uttablecee1273f\u0022}", | ||
"StatusCode": 201, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", | ||
"Date": "Mon, 18 Oct 2021 21:58:26 GMT", | ||
"Location": "https://fakeendpoint.table.core.windows.net/Tables(\u0027uttablecee1273f\u0027)", | ||
"Server": [ | ||
"Windows-Azure-Table/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-client-request-id": "8907585b-305e-11ec-9b7a-5cf37093a909", | ||
"x-ms-request-id": "57626ea4-2002-0015-6e6b-c4666e000000", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"ResponseBody": { | ||
"odata.metadata": "https://fakeendpoint.table.core.windows.net/$metadata#Tables/@Element", | ||
"TableName": "uttablecee1273f" | ||
} | ||
}, | ||
{ | ||
"RequestUri": "https://fakeendpoint.table.core.windows.net/Tables", | ||
"RequestMethod": "POST", | ||
"RequestHeaders": { | ||
"Accept": "application/json;odata=minimalmetadata", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "32", | ||
"Content-Type": "application/json;odata=nometadata", | ||
"DataServiceVersion": "3.0", | ||
"Date": "Mon, 18 Oct 2021 21:58:32 GMT", | ||
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)", | ||
"x-ms-client-request-id": "8907585b-305e-11ec-9b7a-5cf37093a909", | ||
"x-ms-date": "Mon, 18 Oct 2021 21:58:32 GMT", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"RequestBody": "{\u0022TableName\u0022: \u0022uttablecee1273f\u0022}", | ||
"StatusCode": 409, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", | ||
"Date": "Mon, 18 Oct 2021 21:58:26 GMT", | ||
"Server": [ | ||
"Windows-Azure-Table/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-client-request-id": "8907585b-305e-11ec-9b7a-5cf37093a909", | ||
"x-ms-request-id": "57626eaf-2002-0015-776b-c4666e000000", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"ResponseBody": { | ||
"odata.error": { | ||
"code": "TableAlreadyExists", | ||
"message": { | ||
"lang": "en-US", | ||
"value": "The table specified already exists.\nRequestId:57626eaf-2002-0015-776b-c4666e000000\nTime:2021-10-18T21:58:27.3295071Z" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"RequestUri": "https://fakeendpoint.table.core.windows.net/Tables(\u0027uttablecee1273f\u0027)", | ||
"RequestMethod": "DELETE", | ||
"RequestHeaders": { | ||
"Accept": "application/json", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "0", | ||
"Date": "Mon, 18 Oct 2021 21:58:33 GMT", | ||
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)", | ||
"x-ms-client-request-id": "8957e637-305e-11ec-9a4f-5cf37093a909", | ||
"x-ms-date": "Mon, 18 Oct 2021 21:58:33 GMT", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 204, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Length": "0", | ||
"Date": "Mon, 18 Oct 2021 21:58:26 GMT", | ||
"Server": [ | ||
"Windows-Azure-Table/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-client-request-id": "8957e637-305e-11ec-9a4f-5cf37093a909", | ||
"x-ms-request-id": "57626eb2-2002-0015-7a6b-c4666e000000", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"ResponseBody": null | ||
}, | ||
{ | ||
"RequestUri": "https://fakeendpoint.table.core.windows.net/Tables(\u0027uttablecee1273f\u0027)", | ||
"RequestMethod": "DELETE", | ||
"RequestHeaders": { | ||
"Accept": "application/json", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Authorization": "Sanitized", | ||
"Connection": "keep-alive", | ||
"Content-Length": "0", | ||
"Date": "Mon, 18 Oct 2021 21:58:33 GMT", | ||
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)", | ||
"x-ms-client-request-id": "895b8dc4-305e-11ec-9ce7-5cf37093a909", | ||
"x-ms-date": "Mon, 18 Oct 2021 21:58:33 GMT", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 404, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/json; odata=minimalmetadata; streaming=true; charset=utf-8", | ||
"Date": "Mon, 18 Oct 2021 21:58:26 GMT", | ||
"Server": [ | ||
"Windows-Azure-Table/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-client-request-id": "895b8dc4-305e-11ec-9ce7-5cf37093a909", | ||
"x-ms-request-id": "57626eb7-2002-0015-7e6b-c4666e000000", | ||
"x-ms-version": "2019-02-02" | ||
}, | ||
"ResponseBody": { | ||
"odata.error": { | ||
"code": "ResourceNotFound", | ||
"message": { | ||
"lang": "en-US", | ||
"value": "The specified resource does not exist.\nRequestId:57626eb7-2002-0015-7e6b-c4666e000000\nTime:2021-10-18T21:58:27.3745385Z" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"Variables": {} | ||
} |
Oops, something went wrong.