Skip to content

Commit 8ef0fdb

Browse files
committed
format the output
1 parent 0c64745 commit 8ef0fdb

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
@@ -480,7 +480,7 @@ void testManyAsyncStepsExample(int steps, long maxExecutionTime, long maxReplayT
480480
assertEquals(ExecutionStatus.SUCCEEDED, result.getStatus());
481481

482482
var finalResult = result.getResult(ManyAsyncStepsExample.Output.class);
483-
System.out.println("ManyAsyncStepsExample result: " + finalResult);
483+
System.out.printf("ManyAsyncStepsExample result (%d steps): %s", steps, finalResult);
484484
assertNotNull(finalResult);
485485
assertEquals((long) steps * (steps - 1), finalResult.result()); // Sum of 0..steps * 2
486486

@@ -517,7 +517,7 @@ void testManyAsyncChildContextExample(int steps, long maxExecutionTime, long max
517517
assertEquals(ExecutionStatus.SUCCEEDED, result.getStatus());
518518

519519
var finalResult = result.getResult(ManyAsyncChildContextExample.Output.class);
520-
System.out.println("ManyAsyncChildContextExample result: " + finalResult);
520+
System.out.printf("ManyAsyncChildContextExample result (%d child contexts): %s", steps, finalResult);
521521
assertNotNull(finalResult);
522522
assertEquals((long) steps * (steps - 1), finalResult.result()); // Sum of 0..steps * 2
523523

0 commit comments

Comments
 (0)