Author: dgolovin
Date: 2011-08-02 21:24:51 -0400 (Tue, 02 Aug 2011)
New Revision: 33493
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/CDIUIAllTests.java
Log:
disable java and jsp indexing to avoid waitForIdle() stack for a longer time
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/CDIUIAllTests.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/CDIUIAllTests.java 2011-08-03
01:23:39 UTC (rev 33492)
+++
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/CDIUIAllTests.java 2011-08-03
01:24:51 UTC (rev 33493)
@@ -14,6 +14,7 @@
import junit.framework.TestSuite;
import org.eclipse.jdt.internal.core.JavaModelManager;
+import org.eclipse.jst.jsp.core.internal.java.search.JSPIndexManager;
import org.jboss.tools.cdi.core.test.CDICoreTestSetup;
import org.jboss.tools.cdi.ui.test.marker.CDIMarkerResolutionTest;
import org.jboss.tools.cdi.ui.test.perspective.CDIPerspectiveTest;
@@ -30,7 +31,13 @@
public static Test suite() {
// it could be done here because it is not needed to be enabled back
- JavaModelManager.getIndexManager().disable();
+ JavaModelManager.getIndexManager().shutdown();
+ try {
+ JSPIndexManager.getDefault().stop();
+ } catch (InterruptedException e) {
+ // print it and ignore it
+ e.printStackTrace();
+ }
TestSuite suiteAll = new TestSuite("CDI UI Tests");
Show replies by date