Skip to content

Commit 657abd9

Browse files
committed
Reduce sleep time in force-checkpointing-invoke test
- Change from 20s to 15s sleep to prevent cloud timeout - Test was still timing out at 30s due to cloud environment overhead - 15s + overhead should complete within 30s timeout
1 parent 3c7d7e0 commit 657abd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-durable-execution-sdk-js-examples/src/examples/force-checkpointing/invoke/force-checkpointing-invoke.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const handler = withDurableExecution(
2222
return await branchCtx.step(
2323
"long-running-step",
2424
async () => {
25-
await new Promise((resolve) => setTimeout(resolve, 20000));
25+
await new Promise((resolve) => setTimeout(resolve, 15000));
2626
return "long-complete";
2727
},
2828
{ retryStrategy: retryPresets.noRetry },

0 commit comments

Comments
 (0)