Skip to content

Commit 15c6f84

Browse files
committed
Reduce number of parallel builds in ParallelBuildChainTest #825
The test case testIndividualProjectBuilds_WithManyProjects_ProjectRelaxedRule() in ParallelBuildChainTest fails randomly (in I-Builds) because not all jobs that are supposed to run build operations are scheduled and started in time. Since the test is not supposed to validate that a specific number of jobs can be started, the number of jobs/builds to be spawned must actually not be as high as currently defined. This change reduces the number of projects in the test case to avoid random test failures while keeping expressiveness of the test case. Fixes #825
1 parent 40c9740 commit 15c6f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ParallelBuildChainTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public void testIndividualProjectBuilds_ProjectRelaxedRule() throws Exception {
144144

145145
@Test
146146
public void testIndividualProjectBuilds_WithManyProjects_ProjectRelaxedRule() throws Exception {
147-
int numberOfParallelBuilds = 30;
147+
int numberOfParallelBuilds = 15;
148148
var longRunningProjects = createMultipleTestProjects(numberOfParallelBuilds, BuildDurationType.LONG_RUNNING,
149149
RuleType.CURRENT_PROJECT_RELAXED);
150150
executeIndividualFullProjectBuilds(numberOfParallelBuilds, () -> {

0 commit comments

Comments
 (0)