Skip to content

Commit

Permalink
[CI] Try to let docker destructive packaging tests run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Sep 27, 2024
1 parent 53d8cc3 commit eb65141
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private static TaskProvider<Test> configureTestTask(
// Only run tests for the current architecture
t.onlyIf(t3 -> distribution.getArchitecture() == Architecture.current());
t.getOutputs().doNotCacheIf("Build cache is disabled for packaging tests", Specs.satisfyAll());
t.setMaxParallelForks(1);
t.setMaxParallelForks(2);
SourceSet testSourceSet = project.getExtensions().getByType(JavaPluginExtension.class).getSourceSets().getByName("test");
t.setClasspath(testSourceSet.getRuntimeClasspath());
t.setTestClassesDirs(testSourceSet.getOutput().getClassesDirs());
Expand Down

0 comments on commit eb65141

Please sign in to comment.