From abae741e010012b86d4864c328fa5e31fddc664f Mon Sep 17 00:00:00 2001 From: Brian Remmington Date: Wed, 10 Aug 2011 14:34:29 +0000 Subject: [PATCH] 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 --- source/java/org/alfresco/wcm/AbstractWCMServiceImplTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/wcm/AbstractWCMServiceImplTest.java b/source/java/org/alfresco/wcm/AbstractWCMServiceImplTest.java index ce0a905309..ea78e25942 100644 --- a/source/java/org/alfresco/wcm/AbstractWCMServiceImplTest.java +++ b/source/java/org/alfresco/wcm/AbstractWCMServiceImplTest.java @@ -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});;