1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Delay test to allow indexer to get started before deleting project.

This commit is contained in:
Doug Schaefer 2011-09-13 12:24:14 -04:00
parent e9ecee92a0
commit 95ea76e4b0

View file

@ -79,6 +79,8 @@ public class CProjectDescriptionStorageTests extends BaseTestCase {
for (IResource child : cProj.getProject().getFolder(".csettings").members())
child.setReadOnly(false);
}
// Wait for a few seconds for the indexer to get going so we avoid deadlock
Thread.sleep(2000);
// Delete the project
CProjectHelper.delete(cProj);
}