SEARCH-67: Removed Thread.sleep and lowered the cron

This commit is contained in:
Gethin James
2016-07-14 14:00:14 +02:00
parent dce488cc74
commit 06b8458f31
5 changed files with 1 additions and 5 deletions

View File

@@ -46,7 +46,6 @@ public class AlfrescoReRankQParserPluginTest extends AbstractAlfrescoSolrTests
public static void beforeClass() throws Exception
{
initAlfrescoCore("solrconfig-rerank.xml", "schema-rerank.xml");
Thread.sleep(1000);
}
@Before
public void setUp() throws Exception

View File

@@ -56,7 +56,6 @@ public class AuthDataLoad extends AbstractAlfrescoSolrTests
{
//Start test haness
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
Thread.sleep(1000);
// Root
NodeRef rootNodeRef = new NodeRef(new StoreRef("workspace", "SpacesStore"), createGUID());

View File

@@ -196,7 +196,6 @@ public class LoadCMISData extends AbstractAlfrescoSolrTests
public static void loadCMISTestSet() throws Exception
{
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
Thread.sleep(1000);
SolrCore core = h.getCore();
AlfrescoSolrDataModel dataModel = AlfrescoSolrDataModel.getInstance();
dataModel.setCMDefaultUri();

View File

@@ -69,7 +69,6 @@ public class AlfrescoSolrTrackerTest extends AbstractAlfrescoSolrTests
public static void beforeClass() throws Exception
{
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
Thread.sleep(1000);
}
@Before

View File

@@ -24,7 +24,7 @@ alfresco.host=localhost
alfresco.port=8080
alfresco.port.ssl=8443
alfresco.baseUrl=/alfresco
alfresco.cron=0/5 * * * * ? *
alfresco.cron=0/2 * * * * ? *
#alfresco.index.transformContent=false
#alfresco.ignore.datatype.1=d:content