forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing tests for multi-region URL change on Az CLI quantum extension (#…
…19) Fixing tests for multi-region URL change on Az CLI quantum extension
- Loading branch information
1 parent
0b230ee
commit 6445133
Showing
8 changed files
with
363 additions
and
60 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
97 changes: 97 additions & 0 deletions
97
src/quantum/azext_quantum/tests/latest/recordings/test_jobs.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,97 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
CommandName: | ||
- quantum workspace set | ||
Connection: | ||
- keep-alive | ||
ParameterSetName: | ||
- -g -w -l | ||
User-Agent: | ||
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.19 msrest_azure/0.6.4 | ||
quantummanagementclient/2019-11-04-preview Azure-SDK-For-Python AZURECLI/2.15.1 | ||
accept-language: | ||
- en-US | ||
method: GET | ||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/workspaces/validator-workspace-westus?api-version=2019-11-04-preview | ||
response: | ||
body: | ||
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/microsoft.quantum/workspaces/validator-workspace-westus","name":"validator-workspace-westus","type":"microsoft.quantum/workspaces","location":"westus","properties":{"providers":[{"providerId":"Microsoft","providerSku":"Basic","applicationName":"validator-workspace-westus-Microsoft","provisioningState":"Succeeded"}],"provisioningState":"Succeeded","usable":"Yes"}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
content-length: | ||
- '473' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 10 Dec 2020 00:41:54 GMT | ||
etag: | ||
- '"57010011-0000-0700-0000-5fa604730000"' | ||
expires: | ||
- '-1' | ||
pragma: | ||
- no-cache | ||
server: | ||
- Kestrel | ||
strict-transport-security: | ||
- max-age=31536000; includeSubDomains | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.19 msrest_azure/0.6.4 | ||
quantumclient/2019-11-04-preview Azure-SDK-For-Python | ||
accept-language: | ||
- en-US | ||
method: GET | ||
uri: https://westus.quantum.azure.com/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aqua-provider-validator/providers/Microsoft.Quantum/workspaces/validator-workspace-westus/providerStatus | ||
response: | ||
body: | ||
string: '{"value":[{"id":"Microsoft","currentAvailability":"Available","targets":[{"id":"microsoft.paralleltempering-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.paralleltempering.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.tabu-parameterfree.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.tabu.cpu","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing-parameterfree.fpga","currentAvailability":"Available","averageQueueTime":0,"statusPage":null},{"id":"microsoft.simulatedannealing.fpga","currentAvailability":"Available","averageQueueTime":0,"statusPage":null}]}],"nextLink":null}' | ||
headers: | ||
content-length: | ||
- '1040' | ||
content-type: | ||
- application/json; charset=utf-8 | ||
date: | ||
- Thu, 10 Dec 2020 00:41:54 GMT | ||
request-context: | ||
- appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f | ||
server: | ||
- Microsoft-IIS/10.0 | ||
set-cookie: | ||
- ARRAffinity=27001002d8b8551188d2c7cc4823ffdcadf45dae9b5914f9158d130543bcca9c;Path=/;HttpOnly;Secure;Domain=westus.quantum.azure.com | ||
- ARRAffinitySameSite=27001002d8b8551188d2c7cc4823ffdcadf45dae9b5914f9158d130543bcca9c;Path=/;HttpOnly;SameSite=None;Secure;Domain=westus.quantum.azure.com | ||
strict-transport-security: | ||
- max-age=2592000 | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-powered-by: | ||
- ASP.NET | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
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.