commit | 5086ecafb50bea89ca6fdedd9445a06a61770579 | [log] [tgz] |
---|---|---|
author | Stephan Herrmann <stephan@cs.tu-berlin.de> | Sun Aug 26 12:02:19 2012 +0200 |
committer | Stephan Herrmann <stephan@cs.tu-berlin.de> | Sun Aug 26 12:02:19 2012 +0200 |
tree | d2838a4c09371466b5c718543adbabbc9de62fca | |
parent | c7e15aaad3d1ed731122d1b31c65c88466973083 [diff] |
Experiment: try to avoid test failures by waiting 200ms before starting a full build.
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 8a38881..9ea7ed7 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 @@ } + 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() {