Skip to content

Commit 379f6de

Browse files
jiacfanvinjiang
authored andcommitted
[Storage](Blob) Add cases for exposed CRC64 options and add records.
1 parent 589c57f commit 379f6de

File tree

420 files changed

+18301
-13309
lines changed

Some content is hidden

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

420 files changed

+18301
-13309
lines changed

sdk/storage/storage-blob/recordings/browsers/aborter/recording_should_not_abort_after_calling_abort.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@
22
"recordings": [
33
{
44
"method": "PUT",
5-
"url": "https://fakestorageaccount.blob.core.windows.net/container156404691376603837",
5+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217425405887",
66
"query": {
77
"restype": "container"
88
},
99
"requestBody": null,
1010
"status": 201,
1111
"response": "",
1212
"responseHeaders": {
13-
"date": "Thu, 25 Jul 2019 09:24:55 GMT",
14-
"last-modified": "Thu, 25 Jul 2019 09:24:55 GMT",
13+
"date": "Fri, 06 Sep 2019 09:29:34 GMT",
14+
"last-modified": "Fri, 06 Sep 2019 09:29:34 GMT",
1515
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
16-
"etag": "\"0x8D710E1F4EE47A0\"",
17-
"x-ms-request-id": "d494aae0-c01e-0075-17ca-42b92d000000",
18-
"x-ms-version": "2018-11-09",
16+
"etag": "\"0x8D732ACBAD9D083\"",
17+
"x-ms-request-id": "dbd039f9-501e-00c3-6995-64eed9000000",
18+
"x-ms-version": "2019-02-02",
19+
"x-ms-client-request-id": "b75c9e12-6068-440e-a445-fd994360633e",
1920
"content-length": "0"
2021
}
2122
}
2223
],
2324
"uniqueTestInfo": {
24-
"container": "container156404691376603837"
25+
"container": "container156776217425405887"
2526
}
2627
}

sdk/storage/storage-blob/recordings/browsers/aborter/recording_should_not_abort_when_calling_abort_after_request_finishes.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@
22
"recordings": [
33
{
44
"method": "PUT",
5-
"url": "https://fakestorageaccount.blob.core.windows.net/container156404691415106119",
5+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217480408205",
66
"query": {
77
"restype": "container"
88
},
99
"requestBody": null,
1010
"status": 201,
1111
"response": "",
1212
"responseHeaders": {
13-
"date": "Thu, 25 Jul 2019 09:24:55 GMT",
14-
"last-modified": "Thu, 25 Jul 2019 09:24:56 GMT",
13+
"date": "Fri, 06 Sep 2019 09:29:34 GMT",
14+
"last-modified": "Fri, 06 Sep 2019 09:29:34 GMT",
1515
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
16-
"etag": "\"0x8D710E1F505A468\"",
17-
"x-ms-request-id": "d494ab49-c01e-0075-62ca-42b92d000000",
18-
"x-ms-version": "2018-11-09",
16+
"etag": "\"0x8D732ACBAFACE08\"",
17+
"x-ms-request-id": "dbd03a57-501e-00c3-3b95-64eed9000000",
18+
"x-ms-version": "2019-02-02",
19+
"x-ms-client-request-id": "a91a63c4-1dee-4222-9cd1-8b8b8dadc8eb",
1920
"content-length": "0"
2021
}
2122
}
2223
],
2324
"uniqueTestInfo": {
24-
"container": "container156404691415106119"
25+
"container": "container156776217480408205"
2526
}
2627
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"recordings": [],
33
"uniqueTestInfo": {
4-
"container": "container156404691375200388"
4+
"container": "container156776217424407573"
55
}
66
}

sdk/storage/storage-blob/recordings/browsers/appendbloburl/recording_appendblock.json

+38-33
Original file line numberDiff line numberDiff line change
@@ -2,110 +2,115 @@
22
"recordings": [
33
{
44
"method": "PUT",
5-
"url": "https://fakestorageaccount.blob.core.windows.net/container156404691542102548",
5+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217669208799",
66
"query": {
77
"restype": "container"
88
},
99
"requestBody": null,
1010
"status": 201,
1111
"response": "",
1212
"responseHeaders": {
13-
"date": "Thu, 25 Jul 2019 09:24:56 GMT",
14-
"last-modified": "Thu, 25 Jul 2019 09:24:57 GMT",
13+
"date": "Fri, 06 Sep 2019 09:29:36 GMT",
14+
"last-modified": "Fri, 06 Sep 2019 09:29:36 GMT",
1515
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
16-
"etag": "\"0x8D710E1F5C6F472\"",
17-
"x-ms-request-id": "d494ae22-c01e-0075-06ca-42b92d000000",
18-
"x-ms-version": "2018-11-09",
16+
"etag": "\"0x8D732ACBC1B0355\"",
17+
"x-ms-request-id": "dbd03d5f-501e-00c3-6695-64eed9000000",
18+
"x-ms-version": "2019-02-02",
19+
"x-ms-client-request-id": "cfbc2a80-463f-4c24-83cd-5217a0288184",
1920
"content-length": "0"
2021
}
2122
},
2223
{
2324
"method": "PUT",
24-
"url": "https://fakestorageaccount.blob.core.windows.net/container156404691542102548/blob156404691556009500",
25+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217669208799/blob156776217689509995",
2526
"query": {},
2627
"requestBody": null,
2728
"status": 201,
2829
"response": "",
2930
"responseHeaders": {
30-
"date": "Thu, 25 Jul 2019 09:24:56 GMT",
31-
"last-modified": "Thu, 25 Jul 2019 09:24:57 GMT",
31+
"date": "Fri, 06 Sep 2019 09:29:36 GMT",
32+
"last-modified": "Fri, 06 Sep 2019 09:29:36 GMT",
3233
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
33-
"etag": "\"0x8D710E1F5DD29A5\"",
34-
"x-ms-request-id": "d494ae97-c01e-0075-64ca-42b92d000000",
35-
"x-ms-version": "2018-11-09",
34+
"etag": "\"0x8D732ACBC39D78C\"",
35+
"x-ms-request-id": "dbd03d95-501e-00c3-1595-64eed9000000",
36+
"x-ms-version": "2019-02-02",
37+
"x-ms-client-request-id": "ba071145-da5a-49c8-b333-0e2c4a155066",
3638
"x-ms-request-server-encrypted": "true",
3739
"content-length": "0"
3840
}
3941
},
4042
{
4143
"method": "PUT",
42-
"url": "https://fakestorageaccount.blob.core.windows.net/container156404691542102548/blob156404691556009500",
44+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217669208799/blob156776217689509995",
4345
"query": {
4446
"comp": "appendblock"
4547
},
4648
"requestBody": "Hello World!",
4749
"status": 201,
4850
"response": "",
4951
"responseHeaders": {
50-
"date": "Thu, 25 Jul 2019 09:24:57 GMT",
51-
"last-modified": "Thu, 25 Jul 2019 09:24:57 GMT",
52+
"x-ms-content-crc64": "peH8Xsgc5QI=",
53+
"date": "Fri, 06 Sep 2019 09:29:36 GMT",
54+
"x-ms-blob-append-offset": "0",
5255
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
53-
"content-md5": "7Qdih1MuhjZehB6Sv8UNjA==",
5456
"x-ms-blob-committed-block-count": "1",
55-
"etag": "\"0x8D710E1F61C883E\"",
56-
"x-ms-request-id": "d494aedc-c01e-0075-1cca-42b92d000000",
57-
"x-ms-blob-append-offset": "0",
58-
"x-ms-version": "2018-11-09",
57+
"etag": "\"0x8D732ACBC58B1B4\"",
58+
"x-ms-request-id": "dbd03dba-501e-00c3-3595-64eed9000000",
59+
"last-modified": "Fri, 06 Sep 2019 09:29:37 GMT",
60+
"x-ms-version": "2019-02-02",
61+
"x-ms-client-request-id": "af05e937-be95-4c65-a369-78cecac511b6",
5962
"x-ms-request-server-encrypted": "true",
6063
"content-length": "0"
6164
}
6265
},
6366
{
6467
"method": "GET",
65-
"url": "https://fakestorageaccount.blob.core.windows.net/container156404691542102548/blob156404691556009500",
68+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217669208799/blob156776217689509995",
6669
"query": {},
6770
"requestBody": null,
6871
"status": 200,
6972
"response": "Hello World!",
7073
"responseHeaders": {
7174
"x-ms-blob-type": "AppendBlob",
72-
"date": "Thu, 25 Jul 2019 09:24:57 GMT",
75+
"date": "Fri, 06 Sep 2019 09:29:37 GMT",
7376
"x-ms-tag-count": "0",
7477
"x-ms-server-encrypted": "true",
78+
"x-ms-client-request-id": "b62b66a1-f698-4afc-b0be-0bde05f4415a",
7579
"content-length": "12",
7680
"x-ms-lease-state": "available",
7781
"x-ms-lease-status": "unlocked",
78-
"x-ms-creation-time": "Thu, 25 Jul 2019 09:24:57 GMT",
79-
"last-modified": "Thu, 25 Jul 2019 09:24:57 GMT",
82+
"x-ms-creation-time": "Fri, 06 Sep 2019 09:29:36 GMT",
83+
"last-modified": "Fri, 06 Sep 2019 09:29:37 GMT",
8084
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
8185
"x-ms-blob-committed-block-count": "1",
82-
"etag": "\"0x8D710E1F61C883E\"",
86+
"etag": "\"0x8D732ACBC58B1B4\"",
8387
"content-type": "application/octet-stream",
84-
"x-ms-request-id": "d494b019-c01e-0075-33ca-42b92d000000",
85-
"x-ms-version": "2018-11-09",
88+
"x-ms-request-id": "dbd03df0-501e-00c3-5f95-64eed9000000",
89+
"x-ms-version": "2019-02-02",
8690
"accept-ranges": "bytes"
8791
}
8892
},
8993
{
9094
"method": "DELETE",
91-
"url": "https://fakestorageaccount.blob.core.windows.net/container156404691542102548",
95+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217669208799",
9296
"query": {
9397
"restype": "container"
9498
},
9599
"requestBody": null,
96100
"status": 202,
97101
"response": "",
98102
"responseHeaders": {
99-
"x-ms-request-id": "d494b091-c01e-0075-13ca-42b92d000000",
100-
"x-ms-version": "2018-11-09",
103+
"date": "Fri, 06 Sep 2019 09:29:37 GMT",
101104
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
102-
"date": "Thu, 25 Jul 2019 09:24:57 GMT",
105+
"x-ms-request-id": "dbd03e0e-501e-00c3-7495-64eed9000000",
106+
"x-ms-version": "2019-02-02",
107+
"x-ms-client-request-id": "7c334604-5b18-4f41-9af8-5909b24d9f55",
103108
"content-length": "0"
104109
}
105110
}
106111
],
107112
"uniqueTestInfo": {
108-
"container": "container156404691542102548",
109-
"blob": "blob156404691556009500"
113+
"container": "container156776217669208799",
114+
"blob": "blob156776217689509995"
110115
}
111116
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"recordings": [
3+
{
4+
"method": "PUT",
5+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217772603452",
6+
"query": {
7+
"restype": "container"
8+
},
9+
"requestBody": null,
10+
"status": 201,
11+
"response": "",
12+
"responseHeaders": {
13+
"date": "Fri, 06 Sep 2019 09:29:37 GMT",
14+
"last-modified": "Fri, 06 Sep 2019 09:29:37 GMT",
15+
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
16+
"etag": "\"0x8D732ACBCB91795\"",
17+
"x-ms-request-id": "dbd03e30-501e-00c3-0e95-64eed9000000",
18+
"x-ms-version": "2019-02-02",
19+
"x-ms-client-request-id": "6d68a7bc-48a3-4778-abc8-c6a09a586374",
20+
"content-length": "0"
21+
}
22+
},
23+
{
24+
"method": "PUT",
25+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217772603452/blob156776217793100456",
26+
"query": {},
27+
"requestBody": null,
28+
"status": 201,
29+
"response": "",
30+
"responseHeaders": {
31+
"date": "Fri, 06 Sep 2019 09:29:37 GMT",
32+
"last-modified": "Fri, 06 Sep 2019 09:29:38 GMT",
33+
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
34+
"etag": "\"0x8D732ACBCD7EBC2\"",
35+
"x-ms-request-id": "dbd03e7f-501e-00c3-5495-64eed9000000",
36+
"x-ms-version": "2019-02-02",
37+
"x-ms-client-request-id": "0dffb8e5-79dc-42cc-8de6-ab162ed43c71",
38+
"x-ms-request-server-encrypted": "true",
39+
"content-length": "0"
40+
}
41+
},
42+
{
43+
"method": "PUT",
44+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217772603452/blob156776217793100456",
45+
"query": {
46+
"comp": "appendblock"
47+
},
48+
"requestBody": "Hello World!",
49+
"status": 400,
50+
"response": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>Crc64Mismatch</Code><Message>The CRC64 value specified in the request did not match with the CRC64 value calculated by the server.\nRequestId:dbd03ed2-501e-00c3-1d95-64eed9000000\nTime:2019-09-06T09:29:38.2348982Z</Message><UserSpecifiedCrc>AQIDBAUGBwg=</UserSpecifiedCrc><ServerCalculatedCrc>peH8Xsgc5QI=</ServerCalculatedCrc></Error>",
51+
"responseHeaders": {
52+
"date": "Fri, 06 Sep 2019 09:29:38 GMT",
53+
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
54+
"x-ms-error-code": "Crc64Mismatch",
55+
"content-type": "application/xml",
56+
"x-ms-request-id": "dbd03ed2-501e-00c3-1d95-64eed9000000",
57+
"x-ms-version": "2019-02-02",
58+
"x-ms-client-request-id": "6fc49ba0-182c-488b-b3b0-d3b9b16acf53",
59+
"content-length": "387"
60+
}
61+
},
62+
{
63+
"method": "DELETE",
64+
"url": "https://fakestorageaccount.blob.core.windows.net/container156776217772603452",
65+
"query": {
66+
"restype": "container"
67+
},
68+
"requestBody": null,
69+
"status": 202,
70+
"response": "",
71+
"responseHeaders": {
72+
"date": "Fri, 06 Sep 2019 09:29:38 GMT",
73+
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
74+
"x-ms-request-id": "dbd03f07-501e-00c3-5095-64eed9000000",
75+
"x-ms-version": "2019-02-02",
76+
"x-ms-client-request-id": "f028e3cb-2830-48ef-8ce0-e5df9e2120f9",
77+
"content-length": "0"
78+
}
79+
}
80+
],
81+
"uniqueTestInfo": {
82+
"container": "container156776217772603452",
83+
"blob": "blob156776217793100456"
84+
}
85+
}

0 commit comments

Comments
 (0)