Build/test (increase WCM poll attempts)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2010-03-11 09:06:28 +00:00
parent a3a95cef81
commit 3e650f2f70

View File

@@ -56,7 +56,7 @@ public class AbstractWCMServiceImplTest extends TestCase
private static final String SUBMIT_CONFIG_LOCATION = "classpath:wcm/wcm-jbpm-context.xml";
protected static final long POLL_DELAY = 1500L; // (in millis) 1.5s
protected static final int POLL_MAX_ATTEMPTS = 10;
protected static final int POLL_MAX_ATTEMPTS = 20;
// note: all tests share same context (when run via WCMTestSuite)
protected static ApplicationContext ctx = new ClassPathXmlApplicationContext(new String[] {ApplicationContextHelper.CONFIG_LOCATIONS[0], SUBMIT_CONFIG_LOCATION, PREVIEW_CONFIG_LOCATION});;