Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit ed49471

Browse files
committed
chore(deps): update dependency testbench to v0.60.0
1 parent 08872b5 commit ed49471

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

conformance-test/libraryMethods.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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,

conformance-test/test-data/retryStrategyTestData.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,12 @@
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": [

conformance-test/testBenchUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const PORT = new URL(HOST).port;
2222
const CONTAINER_NAME = 'storage-testbench';
2323
const 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';
2626
const DOCKER_IMAGE = `${DEFAULT_IMAGE_NAME}:${DEFAULT_IMAGE_TAG}`;
2727
const PULL_CMD = `docker pull ${DOCKER_IMAGE}`;
2828
const RUN_CMD = `docker run --rm -d -p ${PORT}:${PORT} --name ${CONTAINER_NAME} ${DOCKER_IMAGE} && sleep 1`;

0 commit comments

Comments
 (0)