Skip to content

Commit 163bae2

Browse files
committed
test: Enable GCP blob store conformance tests testDownloadWithKmsKey, testUploadWithKmsKey_happyPath, testUploadWithKmsKey_emptyKmsKeyId, testUploadWithKmsKey_nullKmsKeyId, testRangedReadWithKmsKey, testVersionedCopyFrom
1 parent 3b8a16d commit 163bae2

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id" : "487a9983-921c-4619-87f2-c8a8fa751ead",
3+
"name" : "storage_v1_b_substrate-sdk-gcp-poc1-test-bucket-versioned_o_versioned-blob-that-doesnt-exist",
4+
"request" : {
5+
"url" : "/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket-versioned/o/versioned-blob-that-doesnt-exist",
6+
"method" : "DELETE"
7+
},
8+
"response" : {
9+
"status" : 404,
10+
"body" : "{\n \"error\": {\n \"code\": 404,\n \"message\": \"No such object: substrate-sdk-gcp-poc1-test-bucket-versioned/versioned-blob-that-doesnt-exist\",\n \"errors\": [\n {\n \"message\": \"No such object: substrate-sdk-gcp-poc1-test-bucket-versioned/versioned-blob-that-doesnt-exist\",\n \"domain\": \"global\",\n \"reason\": \"notFound\"\n }\n ]\n }\n}\n",
11+
"headers" : {
12+
"Alt-Svc" : "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
13+
"Server" : "UploadServer",
14+
"Cache-Control" : "no-cache, no-store, max-age=0, must-revalidate",
15+
"X-GUploader-UploadID" : "AHVrFxNpny-e3MHGHE0Ok-j1YSnGfW30FsEUvmXxdHuXd6QxmkVY8u0xfcIaSrbfwhSBdZp2",
16+
"Vary" : [ "Origin", "X-Origin" ],
17+
"Pragma" : "no-cache",
18+
"Expires" : "Mon, 01 Jan 1990 00:00:00 GMT",
19+
"Date" : "Fri, 09 Jan 2026 19:17:52 GMT",
20+
"Content-Type" : "application/json; charset=UTF-8"
21+
}
22+
},
23+
"uuid" : "487a9983-921c-4619-87f2-c8a8fa751ead",
24+
"persistent" : true,
25+
"insertionIndex" : 938
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id" : "8cf5562e-cfa5-4e24-9a3c-4f8e6925b09c",
3+
"name" : "storage_v1_b_substrate-sdk-gcp-poc1-test-bucket-versioned",
4+
"request" : {
5+
"url" : "/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket-versioned?projection=full",
6+
"method" : "GET"
7+
},
8+
"response" : {
9+
"status" : 200,
10+
"body" : "{\n \"kind\": \"storage#bucket\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket-versioned\",\n \"id\": \"substrate-sdk-gcp-poc1-test-bucket-versioned\",\n \"name\": \"substrate-sdk-gcp-poc1-test-bucket-versioned\",\n \"projectNumber\": \"599653580068\",\n \"generation\": \"1758831414065126441\",\n \"metageneration\": \"2\",\n \"location\": \"US\",\n \"storageClass\": \"STANDARD\",\n \"etag\": \"CAI=\",\n \"timeCreated\": \"2025-09-25T20:16:54.302Z\",\n \"updated\": \"2025-09-25T20:17:01.899Z\",\n \"versioning\": {\n \"enabled\": true\n },\n \"softDeletePolicy\": {\n \"retentionDurationSeconds\": \"604800\",\n \"effectiveTime\": \"2025-09-25T20:16:54.302Z\"\n },\n \"iamConfiguration\": {\n \"bucketPolicyOnly\": {\n \"enabled\": true,\n \"lockedTime\": \"2025-12-24T20:16:54.302Z\"\n },\n \"uniformBucketLevelAccess\": {\n \"enabled\": true,\n \"lockedTime\": \"2025-12-24T20:16:54.302Z\"\n },\n \"publicAccessPrevention\": \"inherited\"\n },\n \"locationType\": \"multi-region\",\n \"rpo\": \"DEFAULT\"\n}\n",
11+
"headers" : {
12+
"Alt-Svc" : "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
13+
"Server" : "UploadServer",
14+
"Cache-Control" : "private, max-age=0, must-revalidate, no-transform",
15+
"ETag" : "CAI=",
16+
"X-GUploader-UploadID" : "AHVrFxM-Q19GgWdC5dbn0WpHdwKtd4i6qmso8rCwFXGOVV-PLTqD-HpmPOFXL5rS2vefrOmX",
17+
"Vary" : [ "Origin", "X-Origin" ],
18+
"Expires" : "Fri, 09 Jan 2026 19:17:52 GMT",
19+
"Date" : "Fri, 09 Jan 2026 19:17:52 GMT",
20+
"Content-Type" : "application/json; charset=UTF-8"
21+
}
22+
},
23+
"uuid" : "8cf5562e-cfa5-4e24-9a3c-4f8e6925b09c",
24+
"persistent" : true,
25+
"insertionIndex" : 939
26+
}

0 commit comments

Comments
 (0)