Skip to content

Commit 35ee893

Browse files
committed
add more tests
1 parent 3e7ec4f commit 35ee893

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/src/test/java/software/amazon/lambda/durable/examples/CloudBasedIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ void testChildContextExample() {
466466
}
467467

468468
@ParameterizedTest
469-
@CsvSource({"100, 1000, 10", "500, 2000, 20", "1000, 3000, 30"})
469+
@CsvSource({"100, 1000, 10", "500, 2000, 20", "1000, 3000, 30", "2000, 5000, 40", "4000, 10000, 50"})
470470
void testManyAsyncStepsExample(int steps, long maxExecutionTime, long maxReplayTime) {
471471
long minimalExecutionTimeMs = Long.MAX_VALUE;
472472
long minimalReplayTimeMs = Long.MAX_VALUE;
@@ -503,7 +503,7 @@ void testManyAsyncStepsExample(int steps, long maxExecutionTime, long maxReplayT
503503

504504
@ParameterizedTest
505505
// OOM if it creates 1000 child contexts
506-
@CsvSource({"100, 1500, 10", "500, 3000, 20"})
506+
@CsvSource({"100, 1500, 10", "500, 3000, 20", "1000, 4500, 30", "2000, 10000, 50"})
507507
void testManyAsyncChildContextExample(int steps, long maxExecutionTime, long maxReplayTime) {
508508
long minimalExecutionTimeMs = Long.MAX_VALUE;
509509
long minimalReplayTimeMs = Long.MAX_VALUE;

0 commit comments

Comments
 (0)