Skip to content

Commit 2aa77bc

Browse files
author
jantje
committed
The teensy test issue 555 sometimes needed a second build
So I added one if needed
1 parent 379e5ad commit 2aa77bc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

io.sloeber.tests/src/io/sloeber/core/RegressionTest.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ public void issue555() {
118118
try {
119119
theTestProject.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
120120
if (Shared.hasBuildErrors(theTestProject)) {
121-
fail("Failed to compile the project:" + projectName + " as teensy");
121+
Shared.waitForAllJobsToFinish();
122+
theTestProject.build(IncrementalProjectBuilder.FULL_BUILD, monitor);
123+
if (Shared.hasBuildErrors(theTestProject)) {
124+
fail("Failed to compile the project:" + projectName + " as teensy");
125+
}
122126
}
123127
} catch (CoreException e) {
124128
e.printStackTrace();

0 commit comments

Comments
 (0)