mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-10-01 14:41:19 +00:00
SEARCH-67: Removed Thread.sleep and lowered the cron
This commit is contained in:
@@ -46,7 +46,6 @@ public class AlfrescoReRankQParserPluginTest extends AbstractAlfrescoSolrTests
|
|||||||
public static void beforeClass() throws Exception
|
public static void beforeClass() throws Exception
|
||||||
{
|
{
|
||||||
initAlfrescoCore("solrconfig-rerank.xml", "schema-rerank.xml");
|
initAlfrescoCore("solrconfig-rerank.xml", "schema-rerank.xml");
|
||||||
Thread.sleep(1000);
|
|
||||||
}
|
}
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception
|
public void setUp() throws Exception
|
||||||
|
@@ -56,7 +56,6 @@ public class AuthDataLoad extends AbstractAlfrescoSolrTests
|
|||||||
{
|
{
|
||||||
//Start test haness
|
//Start test haness
|
||||||
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
|
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
|
||||||
Thread.sleep(1000);
|
|
||||||
// Root
|
// Root
|
||||||
|
|
||||||
NodeRef rootNodeRef = new NodeRef(new StoreRef("workspace", "SpacesStore"), createGUID());
|
NodeRef rootNodeRef = new NodeRef(new StoreRef("workspace", "SpacesStore"), createGUID());
|
||||||
|
@@ -196,7 +196,6 @@ public class LoadCMISData extends AbstractAlfrescoSolrTests
|
|||||||
public static void loadCMISTestSet() throws Exception
|
public static void loadCMISTestSet() throws Exception
|
||||||
{
|
{
|
||||||
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
|
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
|
||||||
Thread.sleep(1000);
|
|
||||||
SolrCore core = h.getCore();
|
SolrCore core = h.getCore();
|
||||||
AlfrescoSolrDataModel dataModel = AlfrescoSolrDataModel.getInstance();
|
AlfrescoSolrDataModel dataModel = AlfrescoSolrDataModel.getInstance();
|
||||||
dataModel.setCMDefaultUri();
|
dataModel.setCMDefaultUri();
|
||||||
|
@@ -69,7 +69,6 @@ public class AlfrescoSolrTrackerTest extends AbstractAlfrescoSolrTests
|
|||||||
public static void beforeClass() throws Exception
|
public static void beforeClass() throws Exception
|
||||||
{
|
{
|
||||||
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
|
initAlfrescoCore("solrconfig-afts.xml", "schema-afts.xml");
|
||||||
Thread.sleep(1000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
|
@@ -24,7 +24,7 @@ alfresco.host=localhost
|
|||||||
alfresco.port=8080
|
alfresco.port=8080
|
||||||
alfresco.port.ssl=8443
|
alfresco.port.ssl=8443
|
||||||
alfresco.baseUrl=/alfresco
|
alfresco.baseUrl=/alfresco
|
||||||
alfresco.cron=0/5 * * * * ? *
|
alfresco.cron=0/2 * * * * ? *
|
||||||
|
|
||||||
#alfresco.index.transformContent=false
|
#alfresco.index.transformContent=false
|
||||||
#alfresco.ignore.datatype.1=d:content
|
#alfresco.ignore.datatype.1=d:content
|
||||||
|
Reference in New Issue
Block a user