Skip to content

Commit

Permalink
Merge pull request #41896 from geoand/InputCollectionOutputCollection…
Browse files Browse the repository at this point in the history
…LambdaTest

Fix flaky InputCollectionOutputCollectionLambdaTest
  • Loading branch information
gastaldi authored Jul 15, 2024
2 parents 59dcb16 + 852e386 commit 7228252
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class InputCollectionOutputCollectionLambda implements RequestHandler<Lis
public List<OutputPerson> handleRequest(List<InputPerson> people, Context context) {

List<OutputPerson> outputPeople = new ArrayList<>();
people.stream().parallel().forEach((person) -> {
people.forEach((person) -> {
outputPeople.add(new OutputPerson(person.getName()));
});

Expand Down

0 comments on commit 7228252

Please sign in to comment.