mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
bug 292003: JUnit failure: managedbuilder testLinkedFolder intermittently fails
added join FAMILY_AUTO_REFRESH for another flavor of creating a project
This commit is contained in:
parent
bc7549cb14
commit
7e2ae40497
1 changed files with 11 additions and 0 deletions
|
@ -348,6 +348,17 @@ public class ManagedBuildTestHelper {
|
|||
} catch (CoreException e2) {
|
||||
Assert.fail(e2.getLocalizedMessage());
|
||||
}
|
||||
// CDT opens the Project with BACKGROUND_REFRESH enabled which causes the
|
||||
// refresh manager to refresh the project 200ms later. This Job interferes
|
||||
// with the resource change handler firing see: bug 271264
|
||||
try {
|
||||
// CDT opens the Project with BACKGROUND_REFRESH enabled which causes the
|
||||
// refresh manager to refresh the project 200ms later. This Job interferes
|
||||
// with the resource change handler firing see: bug 271264
|
||||
Job.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_REFRESH, null);
|
||||
} catch (Exception e) {
|
||||
// Ignore
|
||||
}
|
||||
|
||||
// Initialize the path entry container
|
||||
IStatus initResult = ManagedBuildManager.initBuildInfoContainer(project);
|
||||
|
|
Loading…
Add table
Reference in a new issue