-
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.
[Storage] Migrate
test_queue_service_stats.py
to test proxy (#27286)
* JSON is invalid * Wip * Done
- Loading branch information
1 parent
653d77c
commit ae5480c
Showing
10 changed files
with
180 additions
and
220 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
.../recordings/test_queue_service_stats.pyTestQueueServiceStatstest_queue_service_stats.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,31 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://storagename-secondary.queue.core.windows.net/?restype=service\u0026comp=stats", | ||
"RequestMethod": "GET", | ||
"RequestHeaders": { | ||
"Accept": "application/xml", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Connection": "keep-alive", | ||
"User-Agent": "azsdk-python-storage-queue/12.5.1 Python/3.10.2 (Windows-10-10.0.19044-SP0)", | ||
"x-ms-date": "Thu, 03 Nov 2022 23:07:59 GMT", | ||
"x-ms-version": "2020-08-04" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 200, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/xml", | ||
"Date": "Thu, 03 Nov 2022 23:07:59 GMT", | ||
"Server": [ | ||
"Windows-Azure-Queue/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"x-ms-version": "2020-08-04" | ||
}, | ||
"ResponseBody": "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003CStorageServiceStats\u003E\u003CGeoReplication\u003E\u003CStatus\u003Elive\u003C/Status\u003E\u003CLastSyncTime\u003EThu, 03 Nov 2022 23:03:09 GMT\u003C/LastSyncTime\u003E\u003C/GeoReplication\u003E\u003C/StorageServiceStats\u003E" | ||
} | ||
], | ||
"Variables": {} | ||
} |
31 changes: 31 additions & 0 deletions
31
...queue_service_stats.pyTestQueueServiceStatstest_queue_service_stats_when_unavailable.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,31 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://storagename-secondary.queue.core.windows.net/?restype=service\u0026comp=stats", | ||
"RequestMethod": "GET", | ||
"RequestHeaders": { | ||
"Accept": "application/xml", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Connection": "keep-alive", | ||
"User-Agent": "azsdk-python-storage-queue/12.5.1 Python/3.10.2 (Windows-10-10.0.19044-SP0)", | ||
"x-ms-date": "Thu, 03 Nov 2022 23:08:20 GMT", | ||
"x-ms-version": "2020-08-04" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 200, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/xml", | ||
"Date": "Thu, 03 Nov 2022 23:08:21 GMT", | ||
"Server": [ | ||
"Windows-Azure-Queue/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"x-ms-version": "2020-08-04" | ||
}, | ||
"ResponseBody": "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003CStorageServiceStats\u003E\u003CGeoReplication\u003E\u003CStatus\u003Eunavailable\u003C/Status\u003E\u003CLastSyncTime\u003E\u003C/LastSyncTime\u003E\u003C/GeoReplication\u003E\u003C/StorageServiceStats\u003E" | ||
} | ||
], | ||
"Variables": {} | ||
} |
39 changes: 0 additions & 39 deletions
39
...e-storage-queue/tests/recordings/test_queue_service_stats.test_queue_service_stats_f.yaml
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
.../tests/recordings/test_queue_service_stats.test_queue_service_stats_when_unavailable.yaml
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
.../test_queue_service_stats_async.pyTestAsyncQueueServiceStatstest_queue_service_stats.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,30 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://storagename-secondary.queue.core.windows.net/?restype=service\u0026comp=stats", | ||
"RequestMethod": "GET", | ||
"RequestHeaders": { | ||
"Accept": "application/xml", | ||
"Accept-Encoding": "gzip, deflate", | ||
"User-Agent": "azsdk-python-storage-queue/12.5.1 Python/3.10.2 (Windows-10-10.0.19044-SP0)", | ||
"x-ms-date": "Thu, 03 Nov 2022 23:18:09 GMT", | ||
"x-ms-version": "2021-02-12" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 200, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/xml", | ||
"Date": "Thu, 03 Nov 2022 23:18:10 GMT", | ||
"Server": [ | ||
"Windows-Azure-Queue/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"x-ms-version": "2021-02-12" | ||
}, | ||
"ResponseBody": "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003CStorageServiceStats\u003E\u003CGeoReplication\u003E\u003CStatus\u003Elive\u003C/Status\u003E\u003CLastSyncTime\u003EThu, 03 Nov 2022 23:15:20 GMT\u003C/LastSyncTime\u003E\u003C/GeoReplication\u003E\u003C/StorageServiceStats\u003E" | ||
} | ||
], | ||
"Variables": {} | ||
} |
30 changes: 30 additions & 0 deletions
30
...ce_stats_async.pyTestAsyncQueueServiceStatstest_queue_service_stats_when_unavailable.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,30 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://storagename-secondary.queue.core.windows.net/?restype=service\u0026comp=stats", | ||
"RequestMethod": "GET", | ||
"RequestHeaders": { | ||
"Accept": "application/xml", | ||
"Accept-Encoding": "gzip, deflate", | ||
"User-Agent": "azsdk-python-storage-queue/12.5.1 Python/3.10.2 (Windows-10-10.0.19044-SP0)", | ||
"x-ms-date": "Thu, 03 Nov 2022 23:18:43 GMT", | ||
"x-ms-version": "2021-02-12" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 200, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"Content-Type": "application/xml", | ||
"Date": "Thu, 03 Nov 2022 23:18:44 GMT", | ||
"Server": [ | ||
"Windows-Azure-Queue/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Transfer-Encoding": "chunked", | ||
"x-ms-version": "2021-02-12" | ||
}, | ||
"ResponseBody": "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003CStorageServiceStats\u003E\u003CGeoReplication\u003E\u003CStatus\u003Eunavailable\u003C/Status\u003E\u003CLastSyncTime\u003E\u003C/LastSyncTime\u003E\u003C/GeoReplication\u003E\u003C/StorageServiceStats\u003E" | ||
} | ||
], | ||
"Variables": {} | ||
} |
30 changes: 0 additions & 30 deletions
30
...age-queue/tests/recordings/test_queue_service_stats_async.test_queue_service_stats_f.yaml
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
.../recordings/test_queue_service_stats_async.test_queue_service_stats_when_unavailable.yaml
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.