Author: dgolovin
Date: 2008-08-26 14:55:13 -0400 (Tue, 26 Aug 2008)
New Revision: 9909
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl/EditorTestHelper.java
Log:
// TODO: Block was commented to fix conflict with ValidationFramework.join() and test
hanging
// while (interrupted) {
// try {
// Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
// interrupted= false;
// } catch (InterruptedException e) {
// interrupted= true;
// }
// }
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl/EditorTestHelper.java
===================================================================
---
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl/EditorTestHelper.java 2008-08-26
15:52:53 UTC (rev 9908)
+++
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl/EditorTestHelper.java 2008-08-26
18:55:13 UTC (rev 9909)
@@ -163,14 +163,16 @@
Logger.global.entering("EditorTestHelper",
"joinBackgroundActivities"); //$NON-NLS-1$ //$NON-NLS-2$
Logger.global.finer("join builder"); //$NON-NLS-1$
boolean interrupted= true;
- while (interrupted) {
- try {
- Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
- interrupted= false;
- } catch (InterruptedException e) {
- interrupted= true;
- }
- }
+ // TODO: Block was commented to fix correlation with ValidationJob that leads
+ // to conflict with ValidationFramework.join() and test hanging forever
+ // while (interrupted) {
+ // try {
+ // Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
+ // interrupted= false;
+ // } catch (InterruptedException e) {
+ // interrupted= true;
+ // }
+ // }
// Join jobs
joinJobs(0, 10000, 500);
Logger.global.exiting("EditorTestHelper",
"joinBackgroundActivities"); //$NON-NLS-1$ //$NON-NLS-2$