SEARCH-2589: Additional check for the SOLR 6 Tracking Bean.

This commit is contained in:
Angel Borroy
2020-12-04 13:57:07 +01:00
parent 9f2c10e6be
commit 8da40d0d57

View File

@@ -2,7 +2,7 @@
* #%L * #%L
* Alfresco Repository * Alfresco Repository
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * Copyright (C) 2005 - 2020 Alfresco Software Limited
* %% * %%
* This file is part of the Alfresco software. * This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of * If the software was purchased under a paid Alfresco license, the terms of
@@ -45,6 +45,7 @@ public class SolrSubsystemTest extends BaseSpringTest
.getBean("Search")); .getBean("Search"));
ApplicationContext solrContext = subsystemManager.getApplicationContext(); ApplicationContext solrContext = subsystemManager.getApplicationContext();
solr6TrackingBean = (SOLRTrackingComponentImpl) solrContext.getBean("search.trackingComponent"); solr6TrackingBean = (SOLRTrackingComponentImpl) solrContext.getBean("search.trackingComponent");
assertNotNull(solr6TrackingBean);
} }
/** /**