GH-430 - Avoid duplicate inclusions of modules in test executions.

This commit is contained in:
Oliver Drotbohm
2023-12-21 22:19:36 +01:00
parent 00ee8996d4
commit f7e508682a

View File

@@ -79,7 +79,7 @@ public class ModuleTestExecution implements Iterable<ApplicationModule> {
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()) {