Skip to content

Commit f898c66

Browse files
committed
fix(examples): uncomment checkpoint size limit test assertions
- Uncommented assertEventSignatures call that was disabled due to timeout issue - Uncommented proper operation count verification with status filter - Test now works correctly with timeout removal from issue #365
1 parent 7e24531 commit f898c66

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

packages/aws-durable-execution-sdk-js-examples/src/examples/run-in-child-context/checkpoint-size-limit/run-in-child-context-checkpoint-size-limit.test.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@ createTests({
2020

2121
// Verify totalIterations matches actual operations created
2222
expect(result.totalIterations).toBe(
23-
// TODO: https://github.com/aws/aws-durable-execution-sdk-js/issues/365
24-
// execution.getOperations({
25-
// status: "SUCCEEDED",
26-
// }).length,
27-
execution.getOperations().length,
23+
execution.getOperations({
24+
status: "SUCCEEDED",
25+
}).length,
2826
);
2927

30-
// TODO: https://github.com/aws/aws-durable-execution-sdk-js/issues/365
31-
// assertEventSignatures(execution.getHistoryEvents(), historyEvents);
28+
assertEventSignatures(execution.getHistoryEvents(), historyEvents);
3229
}, 120000);
3330
},
3431
});

0 commit comments

Comments
 (0)