Skip to content

Commit

Permalink
GH-429 - Avoid duplicate inclusions of modules in test executions.
Browse files Browse the repository at this point in the history
  • Loading branch information
odrotbohm committed Dec 21, 2023
1 parent 85520fe commit 3b8b104
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private ModuleTestExecution(ApplicationModuleTest annotation, ApplicationModules

var bootstrapDependencies = module.getBootstrapDependencies(modules,
bootstrapMode.getDepth());
return Stream.concat(bootstrapDependencies, extraIncludes.stream()).toList();
return Stream.concat(bootstrapDependencies, extraIncludes.stream()).distinct().toList();
});

if (annotation.verifyAutomatically()) {
Expand Down

0 comments on commit 3b8b104

Please sign in to comment.