This repository was archived by the owner on Mar 3, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -600,11 +600,6 @@ export async function bucketUploadResumable(options: ConformanceTestOptions) {
600600 ) ;
601601 }
602602
603- /**
604- * TODO: Restore chunk-based upload logic and manual status check.
605- * Single-shot PUT is a temporary workaround to isolate auth issues.
606- * Required for Scenario 7: mid-stream failure recovery (e.g., return-503-after-256K).
607- */
608603 return await options . storageTransport ! . makeRequest ( {
609604 method : 'PUT' ,
610605 url : sessionUri ,
@@ -965,11 +960,6 @@ export async function saveResumable(options: ConformanceTestOptions) {
965960
966961 if ( ! sessionUri ) throw new Error ( 'Failed to get session URI' ) ;
967962
968- /**
969- * TODO: Restore chunk-based upload logic and manual status check.
970- * Single-shot PUT is a temporary workaround to isolate auth issues.
971- * Required for Scenario 7: mid-stream failure recovery (e.g., return-503-after-256K).
972- */
973963 return await options . storageTransport ! . makeRequest ( {
974964 method : 'PUT' ,
975965 url : sessionUri ,
Original file line number Diff line number Diff line change 249249 },
250250 {
251251 "instructions" : [" return-408" ]
252+ },
253+ {
254+ "instructions" : [" return-503-after-256K" ]
255+ },
256+ {
257+ "instructions" : [" return-503-after-8192K" ]
252258 }
253259 ],
254260 "methods" : [
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const PORT = new URL(HOST).port;
2222const CONTAINER_NAME = 'storage-testbench' ;
2323const DEFAULT_IMAGE_NAME =
2424 'gcr.io/cloud-devrel-public-resources/storage-testbench' ;
25- const DEFAULT_IMAGE_TAG = 'v0.35 .0' ;
25+ const DEFAULT_IMAGE_TAG = 'v0.60 .0' ;
2626const DOCKER_IMAGE = `${ DEFAULT_IMAGE_NAME } :${ DEFAULT_IMAGE_TAG } ` ;
2727const PULL_CMD = `docker pull ${ DOCKER_IMAGE } ` ;
2828const RUN_CMD = `docker run --rm -d -p ${ PORT } :${ PORT } --name ${ CONTAINER_NAME } ${ DOCKER_IMAGE } && sleep 1` ;
You can’t perform that action at this time.
0 commit comments