Increased max number of polls in AbstractWCMServiceImplTest.java to see if this eliminates intermittent test failure. Was 20, now 200.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-08-10 14:34:29 +00:00
parent 065229b36b
commit abae741e01

View File

@@ -57,7 +57,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 = 20;
protected static final int POLL_MAX_ATTEMPTS = 200;
// 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});;