Author: yradtsevich
Date: 2010-02-24 16:18:37 -0500 (Wed, 24 Feb 2010)
New Revision: 20480
Modified:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5837
Make possible to run VPE JUnit tests one by one
- Struts VPE test are being failed on Hudson. waitForJobs has been added to check if it
helps.
Modified:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java 2010-02-24
19:50:11 UTC (rev 20479)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java 2010-02-24
21:18:37 UTC (rev 20480)
@@ -91,6 +91,10 @@
}
public void testLink() throws Throwable {
+ // XXX wait is added just to check if the test will fail on Hudson.
+ // Most probably it is not needed.
+ TestUtil.waitForIdle();
+
performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/html/link.jsp",
IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}