From 852e3868b25b4e6514d633f5dcb25318f2287fc4 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Mon, 15 Jul 2024 16:21:36 +0300 Subject: [PATCH] Fix flaky InputCollectionOutputCollectionLambdaTest --- .../testing/InputCollectionOutputCollectionLambda.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); });