Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
v-yuchenli committed Jun 17, 2024
1 parent 049f224 commit 37ba0b3
Show file tree
Hide file tree
Showing 17 changed files with 3,916 additions and 2,715 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ interactions:
ParameterSetName:
- -l
User-Agent:
- AZURECLI/2.53.0 (AAZ) azsdk-python-core/1.26.0 Python/3.11.8 (Windows-10-10.0.22631-SP0)
- AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.11.9 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableClusterPoolVersions?api-version=2023-11-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/eastus2/availableClusterPoolVersions?api-version=2024-05-01-preview
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterpoolversions/1.0","name":"1.0","properties":{"clusterPoolVersion":"1.0","aksVersion":"1.26","isPreview":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterpoolversions/1.1","name":"1.1","properties":{"clusterPoolVersion":"1.1","aksVersion":"1.27","isPreview":false}}]}'
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/eastus2/availableclusterpoolversions/1.0","name":"1.0","properties":{"clusterPoolVersion":"1.0","aksVersion":"1.26","isPreview":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/eastus2/availableclusterpoolversions/1.1","name":"1.1","properties":{"clusterPoolVersion":"1.1","aksVersion":"1.27","isPreview":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/eastus2/availableclusterpoolversions/1.2","name":"1.2","properties":{"clusterPoolVersion":"1.2","aksVersion":"1.29","isPreview":false}}]}'
headers:
cache-control:
- no-cache
content-length:
- '481'
- '716'
content-type:
- application/json; charset=utf-8
date:
- Thu, 07 Mar 2024 06:24:58 GMT
- Sun, 28 Apr 2024 02:06:40 GMT
expires:
- '-1'
mise-correlation-id:
- d182dc24-0344-429a-a282-ce76b983bd84
- 32b82e95-1fed-4dcc-a7e1-eafef09ec609
pragma:
- no-cache
strict-transport-security:
Expand All @@ -43,7 +43,7 @@ interactions:
x-ms-providerhub-traffic:
- 'True'
x-msedge-ref:
- 'Ref A: AE8FE2BF8CA54910B1C0714C0F1CAED8 Ref B: MAA201060515029 Ref C: 2024-03-07T06:24:58Z'
- 'Ref A: C8BBF0BB38FF43919F82C235B2BDDA31 Ref B: MAA201060515029 Ref C: 2024-04-28T02:06:40Z'
status:
code: 200
message: OK
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ interactions:
ParameterSetName:
- -l --name --type
User-Agent:
- AZURECLI/2.53.0 (AAZ) azsdk-python-core/1.26.0 Python/3.11.8 (Windows-10-10.0.22631-SP0)
- AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.11.9 (Windows-10-10.0.22631-SP0)
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/checkNameAvailability?api-version=2023-11-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/eastus2/checkNameAvailability?api-version=2024-05-01-preview
response:
body:
string: '{"nameAvailable":true}'
Expand All @@ -31,11 +31,11 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 11 Mar 2024 03:53:42 GMT
- Mon, 13 May 2024 06:09:34 GMT
expires:
- '-1'
mise-correlation-id:
- 2a8bc1be-cff9-454f-aa65-60b8982e2bb7
- 17663038-b478-44f5-bcab-1fe931c0baac
pragma:
- no-cache
strict-transport-security:
Expand All @@ -49,7 +49,7 @@ interactions:
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
x-msedge-ref:
- 'Ref A: 9D073B80A97D40DB9F212ACDAC54E23F Ref B: TYO201100114021 Ref C: 2024-03-11T03:53:43Z'
- 'Ref A: 67FA13B72D6C44EC998DC720C3F7F63E Ref B: MAA201060516053 Ref C: 2024-05-13T06:09:33Z'
status:
code: 200
message: OK
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,26 @@ interactions:
ParameterSetName:
- --cluster-name --cluster-pool-name -g
User-Agent:
- AZURECLI/2.58.0 azsdk-python-core/1.26.0 Python/3.11.8 (Windows-10-10.0.22631-SP0)
- AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.11.9 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hilocli-test/providers/Microsoft.HDInsight/clusterpools/hilopool/clusters/cluster2024311163924/jobs?api-version=2023-11-01-preview
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hilocli-test/providers/Microsoft.HDInsight/clusterpools/hilopoolwus3/clusters/cli-flink12/jobs?api-version=2024-05-01-preview
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hilocli-test/providers/Microsoft.HDInsight/clusterpools/hilopool/clusters/cluster2024311163924/jobs/job-9fe-4b53-bdd3-af47318a4507","properties":{"jobType":"FlinkJob","runId":"job-9fe-4b53-bdd3-af47318a4507","jobName":"test","jobJarDirectory":"abfs://[email protected]/jars","jarName":"FlinkJobDemo-1.0-SNAPSHOT.jar","action":"NEW","entryClass":"org.example.SleepJob"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hilocli-test/providers/Microsoft.HDInsight/clusterpools/hilopool/clusters/cluster2024311163924/jobs/job-d30-488a-91fd-4093b8cc0430","properties":{"jobType":"FlinkJob","runId":"job-d30-488a-91fd-4093b8cc0430","jobName":"test","jobJarDirectory":"abfs://[email protected]/jars","jarName":"FlinkJobDemo-1.0-SNAPSHOT.jar","action":"NEW","entryClass":"org.example.SleepJob","flinkConfiguration":{"parallelism":"1"},"status":"JOB_LAUNCH_FAILED","jobOutput":"Job
execution failed. \nFailed to download jar","actionResult":"FAILED"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hilocli-test/providers/Microsoft.HDInsight/clusterpools/hilopool/clusters/cluster2024311163924/jobs/testname","properties":{"jobType":"FlinkJob","runId":"testname","jobName":"testname","jobJarDirectory":"abfs://[email protected]","jarName":"jars","action":"NEW","entryClass":"org.example.SleepJob","args":"","flinkConfiguration":{"parallelism":"2","savepoint.directory":""},"status":"JOB_LAUNCH_FAILED","jobOutput":"Job
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hilocli-test/providers/Microsoft.HDInsight/clusterpools/hilopoolwus3/clusters/cli-flink12/jobs/job-af3-4507-8edd-0b75ad7ac602","properties":{"jobType":"FlinkJob","runId":"job-af3-4507-8edd-0b75ad7ac602","jobName":"test","jobJarDirectory":"abfs://[email protected]/jars","jarName":"FlinkJobDemo-1.0-SNAPSHOT.jar","action":"NEW","entryClass":"org.example.SleepJob","flinkConfiguration":{"parallelism":"1"},"status":"JOB_LAUNCH_FAILED","jobOutput":"Job
execution failed. \nFailed to download jar","actionResult":"FAILED"}}]}'
headers:
cache-control:
- no-cache
content-length:
- '1681'
- '645'
content-type:
- application/json; charset=utf-8
date:
- Wed, 13 Mar 2024 06:42:16 GMT
- Wed, 15 May 2024 07:04:17 GMT
expires:
- '-1'
mise-correlation-id:
- ca00852f-fafc-42f6-b70a-296ad882ee99
- 827e5b46-571e-48c6-940d-be34bddc027e
pragma:
- no-cache
strict-transport-security:
Expand All @@ -45,7 +44,7 @@ interactions:
x-ms-providerhub-traffic:
- 'True'
x-msedge-ref:
- 'Ref A: B286D28C1D5043E3B103C59CA5E5E60E Ref B: SIN221080713021 Ref C: 2024-03-13T06:42:14Z'
- 'Ref A: AD2A1C65D0B349158746174C53415224 Ref B: MAA201060514035 Ref C: 2024-05-15T07:04:15Z'
status:
code: 200
message: OK
Expand Down
Loading

0 comments on commit 37ba0b3

Please sign in to comment.