Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2012-08-26 10:02:19 +0000
committerStephan Herrmann2012-08-26 10:02:19 +0000
commit5086ecafb50bea89ca6fdedd9445a06a61770579 (patch)
treed2838a4c09371466b5c718543adbabbc9de62fca
parentc7e15aaad3d1ed731122d1b31c65c88466973083 (diff)
downloadorg.eclipse.objectteams-5086ecafb50bea89ca6fdedd9445a06a61770579.tar.gz
org.eclipse.objectteams-5086ecafb50bea89ca6fdedd9445a06a61770579.tar.xz
org.eclipse.objectteams-5086ecafb50bea89ca6fdedd9445a06a61770579.zip
Experiment: try to avoid test failures by waiting 200ms before starting
a full build.
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java b/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java
index 8a3888148..9ea7ed7df 100644
--- a/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java
+++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java
@@ -90,6 +90,15 @@ public class OTEquinoxBuilderTests extends OTBuilderTests {
}
+ protected void fullBuild() {
+ try {
+ Thread.sleep(200);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
+ super.fullBuild();
+ }
+
IProject reopenProject(String projectName) throws CoreException {
final IProject project = fileManager.getWorkspaceRoot().getProject(projectName);
IWorkspaceRunnable populate = new IWorkspaceRunnable() {

Back to the top