mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-492 Investigate / fix issues with the test framework
- only load persisted models if the dictionary is empty
This commit is contained in:
@@ -128,6 +128,11 @@ public class ModelTracker extends AbstractTracker implements Tracker
|
||||
*/
|
||||
private void loadPersistedModels()
|
||||
{
|
||||
if(AlfrescoSolrDataModel.getInstance().getAlfrescoModels().size() > 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
HashMap<String, M2Model> modelMap = new HashMap<String, M2Model>();
|
||||
if (alfrescoModelDir.exists() && alfrescoModelDir.isDirectory())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user