mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-1771 (SOLR dependent integration tests failing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@90205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -129,6 +129,9 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
|
||||
for (NodeRef nodeRef : nodeRefs)
|
||||
{
|
||||
if (nodeService.exists(nodeRef))
|
||||
{
|
||||
boolean publishing = ((Boolean)nodeService.getProperty(nodeRef, PROP_PUBLISH_IN_PROGRESS)).booleanValue();
|
||||
if (!publishing)
|
||||
{
|
||||
// Mark the update node as publishing in progress
|
||||
markPublishInProgress(nodeRef);
|
||||
@@ -164,6 +167,7 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
};
|
||||
}, AuthenticationUtil.getSystemUserName());
|
||||
@@ -290,7 +294,7 @@ public class PublishUpdatesJobExecuter extends RecordsManagementJobExecuter
|
||||
return null;
|
||||
}
|
||||
};
|
||||
retryingTransactionHelper.doInTransaction(execution, false, true);
|
||||
retryingTransactionHelper.doInTransaction(execution);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -1 +0,0 @@
|
||||
index.subsystem.name=buildonly
|
@@ -218,13 +218,20 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="testPlaceholderConfigurer" class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer">
|
||||
<property name="locations">
|
||||
<bean id="Search" class="org.alfresco.repo.management.subsystems.SwitchableApplicationContextFactory" parent="abstractPropertyBackedBean">
|
||||
<property name="autoStart">
|
||||
<value>false</value>
|
||||
</property>
|
||||
<property name="category">
|
||||
<value>Search</value>
|
||||
</property>
|
||||
<property name="sourceBeanName">
|
||||
<value>buildonly</value>
|
||||
</property>
|
||||
<property name="instancePath">
|
||||
<list>
|
||||
<value>classpath:alfresco-global-test.properties</value>
|
||||
<value>manager</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="ignoreUnresolvablePlaceholders" value="true" />
|
||||
<property name="order" value="-1" />
|
||||
</bean>
|
||||
</beans>
|
Reference in New Issue
Block a user