Skip to content

Commit

Permalink
Fix flaky InputCollectionOutputCollectionLambdaTest
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Jul 15, 2024
1 parent 8f06375 commit 852e386
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 852e386

Please sign in to comment.