Skip to content

Commit

Permalink
Fix flaky InputCollectionOutputCollectionLambdaTest
Browse files Browse the repository at this point in the history
(cherry picked from commit 852e386)
  • Loading branch information
geoand authored and gsmet committed Jul 16, 2024
1 parent d915819 commit 2e0ffaa
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 2e0ffaa

Please sign in to comment.