Skip to content

Commit 73ecd29

Browse files
committed
Update test recordings
1 parent e328e70 commit 73ecd29

File tree

105 files changed

+61599
-4253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+61599
-4253
lines changed

tests/recordings/test_cli/test_cat.yaml

Lines changed: 261 additions & 48 deletions
Large diffs are not rendered by default.

tests/recordings/test_cli/test_chmod.yaml

Lines changed: 232 additions & 45 deletions
Large diffs are not rendered by default.

tests/recordings/test_cli/test_df.yaml

Lines changed: 39 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
method: GET
1212
uri: https://fakestore.azuredatalakestore.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2016-11-01
1313
response:
14-
body: {string: !!python/unicode '{"ContentSummary":{"directoryCount":5,"fileCount":0,"length":0,"quota":-1,"spaceConsumed":0,"spaceQuota":-1}}'}
14+
body: {string: '{"ContentSummary":{"directoryCount":5,"fileCount":0,"length":0,"quota":-1,"spaceConsumed":0,"spaceQuota":-1}}'}
1515
headers:
1616
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
1717
Content-Length: ['109']
@@ -37,7 +37,7 @@ interactions:
3737
method: GET
3838
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
3939
response:
40-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
40+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
4141
failed with error 0x8309ffff (Internal server error.). [253ee36a-22cb-4a27-a5c4-98ae8e245c93][2018-10-16T15:13:17.4842237-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
4242
headers:
4343
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -72,7 +72,7 @@ interactions:
7272
method: GET
7373
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
7474
response:
75-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
75+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
7676
failed with error 0x8309ffff (Internal server error.). [63dc97d3-c7d6-4bb8-a8ab-0f9a57355cd7][2018-10-16T15:13:19.8435683-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
7777
headers:
7878
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -107,7 +107,7 @@ interactions:
107107
method: GET
108108
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
109109
response:
110-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
110+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
111111
failed with error 0x8309ffff (Internal server error.). [a65ab706-c1a0-4f2b-acd3-eaed58d4ec5d][2018-10-16T15:13:25.2028937-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
112112
headers:
113113
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -142,7 +142,7 @@ interactions:
142142
method: GET
143143
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
144144
response:
145-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
145+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
146146
failed with error 0x8309ffff (Internal server error.). [528e24df-5bd9-4a8f-9929-537b4e8f3216][2018-10-16T15:13:42.5620672-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
147147
headers:
148148
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -177,7 +177,7 @@ interactions:
177177
method: GET
178178
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
179179
response:
180-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
180+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
181181
failed with error 0x8309ffff (Internal server error.). [681e0560-92ac-4d5c-a407-83609af4b29e][2018-10-16T15:14:48.1081957-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
182182
headers:
183183
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -212,7 +212,7 @@ interactions:
212212
method: GET
213213
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
214214
response:
215-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
215+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
216216
failed with error 0x8309ffff (Internal server error.). [7057b326-00c1-416e-915c-65dfbaaafd86][2018-10-16T15:15:24.3734112-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
217217
headers:
218218
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -247,7 +247,7 @@ interactions:
247247
method: GET
248248
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
249249
response:
250-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
250+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
251251
failed with error 0x8309ffff (Internal server error.). [105213cf-6343-4da7-849e-57bd4f483294][2018-10-16T15:15:26.7327652-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
252252
headers:
253253
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -282,7 +282,7 @@ interactions:
282282
method: GET
283283
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
284284
response:
285-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
285+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
286286
failed with error 0x8309ffff (Internal server error.). [57ef17dc-c62e-4e59-bde4-488122d712cc][2018-10-16T15:15:32.0920722-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
287287
headers:
288288
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -317,7 +317,7 @@ interactions:
317317
method: GET
318318
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
319319
response:
320-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
320+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
321321
failed with error 0x8309ffff (Internal server error.). [376edc8a-6d8a-45f5-a1b1-2cd1cbce1a7d][2018-10-16T15:15:49.4512638-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
322322
headers:
323323
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -352,7 +352,7 @@ interactions:
352352
method: GET
353353
uri: https://e2etest160803264425.caboaccountdogfood.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
354354
response:
355-
body: {string: !!python/unicode '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
355+
body: {string: '{"RemoteException":{"exception":"RuntimeException","message":"GETCONTENTSUMMARY
356356
failed with error 0x8309ffff (Internal server error.). [dfdc9051-016a-48ee-b0db-94dc67c5b142][2018-10-16T15:16:54.8567746-07:00]","javaClassName":"java.lang.RuntimeException"}}'}
357357
headers:
358358
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
@@ -387,7 +387,7 @@ interactions:
387387
method: GET
388388
uri: https://akharitadls.azuredatalakestore.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
389389
response:
390-
body: {string: !!python/unicode '{"ContentSummary":{"directoryCount":4,"fileCount":0,"length":0,"quota":-1,"spaceConsumed":0,"spaceQuota":-1}}'}
390+
body: {string: '{"ContentSummary":{"directoryCount":4,"fileCount":0,"length":0,"quota":-1,"spaceConsumed":0,"spaceQuota":-1}}'}
391391
headers:
392392
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
393393
Content-Length: ['109']
@@ -413,7 +413,7 @@ interactions:
413413
method: GET
414414
uri: https://akharitadls.azuredatalakestore.net/webhdfs/v1/.?api-version=2018-05-01&OP=GETCONTENTSUMMARY
415415
response:
416-
body: {string: !!python/unicode '{"ContentSummary":{"directoryCount":102,"fileCount":30,"length":180,"quota":-1,"spaceConsumed":180,"spaceQuota":-1}}'}
416+
body: {string: '{"ContentSummary":{"directoryCount":102,"fileCount":30,"length":180,"quota":-1,"spaceConsumed":180,"spaceQuota":-1}}'}
417417
headers:
418418
cache-control: ['no-cache, no-cache, no-store, max-age=0']
419419
content-length: ['116']
@@ -427,4 +427,30 @@ interactions:
427427
x-ms-request-id: [176dccc5-12ab-4165-9d1d-b5e90e8df9f6]
428428
x-ms-webhdfs-version: [17.04.24.00]
429429
status: {code: 200, message: OK}
430+
- request:
431+
body: null
432+
headers:
433+
Accept: ['*/*']
434+
Accept-Encoding: ['gzip, deflate']
435+
Connection: [keep-alive]
436+
User-Agent: [python/3.7.0 (Windows-10-10.0.14393-SP0) azure.datalake.store.lib/0.0.37
437+
Azure-Data-Lake-Store-SDK-For-Python]
438+
x-ms-client-request-id: [48a6b2a4-e6d5-11e8-b90c-000d3a02e7d7.0]
439+
method: GET
440+
uri: https://akharitadls.azuredatalakestore.net/webhdfs/v1/.?OP=GETCONTENTSUMMARY&api-version=2018-05-01
441+
response:
442+
body: {string: '{"ContentSummary":{"directoryCount":107,"fileCount":33,"length":2591426763,"quota":-1,"spaceConsumed":2591426763,"spaceQuota":-1}}'}
443+
headers:
444+
Cache-Control: ['no-cache, no-cache, no-store, max-age=0']
445+
Content-Length: ['130']
446+
Content-Type: [application/json; charset=utf-8]
447+
Date: ['Mon, 12 Nov 2018 23:47:16 GMT']
448+
Expires: ['-1']
449+
Pragma: [no-cache]
450+
Status: ['0x0']
451+
Strict-Transport-Security: [max-age=15724800; includeSubDomains]
452+
X-Content-Type-Options: [nosniff]
453+
x-ms-request-id: [a04db53d-584c-404a-b523-1ac44d7ed615]
454+
x-ms-webhdfs-version: [17.04.24.00]
455+
status: {code: 200, message: OK}
430456
version: 1

0 commit comments

Comments
 (0)