diff --git a/extensions/amazon-lambda/deployment/src/test/java/io/quarkus/amazon/lambda/deployment/testing/InputCollectionOutputCollectionLambda.java b/extensions/amazon-lambda/deployment/src/test/java/io/quarkus/amazon/lambda/deployment/testing/InputCollectionOutputCollectionLambda.java index 437cc4e6fcbc5..468cd6f255a6a 100644 --- a/extensions/amazon-lambda/deployment/src/test/java/io/quarkus/amazon/lambda/deployment/testing/InputCollectionOutputCollectionLambda.java +++ b/extensions/amazon-lambda/deployment/src/test/java/io/quarkus/amazon/lambda/deployment/testing/InputCollectionOutputCollectionLambda.java @@ -15,7 +15,7 @@ public class InputCollectionOutputCollectionLambda implements RequestHandler handleRequest(List people, Context context) { List outputPeople = new ArrayList<>(); - people.stream().parallel().forEach((person) -> { + people.forEach((person) -> { outputPeople.add(new OutputPerson(person.getName())); });