fix other test class
This commit is contained in:
parent
c2c6e0b440
commit
faf4dfd056
|
@ -174,9 +174,6 @@ public abstract class BaseTransactionProcessor {
|
||||||
ourLog.trace("Starting transaction processor");
|
ourLog.trace("Starting transaction processor");
|
||||||
myExecutor = new ThreadPoolTaskExecutor();
|
myExecutor = new ThreadPoolTaskExecutor();
|
||||||
myExecutor.setThreadNamePrefix("bundle_batch_");
|
myExecutor.setThreadNamePrefix("bundle_batch_");
|
||||||
// For single thread set the value to 1
|
|
||||||
//myExecutor.setCorePoolSize(1);
|
|
||||||
//myExecutor.setMaxPoolSize(1);
|
|
||||||
myExecutor.setCorePoolSize(myDaoConfig.getBundleBatchPoolSize());
|
myExecutor.setCorePoolSize(myDaoConfig.getBundleBatchPoolSize());
|
||||||
myExecutor.setMaxPoolSize(myDaoConfig.getBundleBatchMaxPoolSize());
|
myExecutor.setMaxPoolSize(myDaoConfig.getBundleBatchMaxPoolSize());
|
||||||
myExecutor.setQueueCapacity(DaoConfig.DEFAULT_BUNDLE_BATCH_QUEUE_CAPACITY);
|
myExecutor.setQueueCapacity(DaoConfig.DEFAULT_BUNDLE_BATCH_QUEUE_CAPACITY);
|
||||||
|
|
|
@ -116,12 +116,16 @@ public class FhirSystemDaoDstu3Test extends BaseJpaDstu3SystemTest {
|
||||||
myDaoConfig.setAllowMultipleDelete(new DaoConfig().isAllowMultipleDelete());
|
myDaoConfig.setAllowMultipleDelete(new DaoConfig().isAllowMultipleDelete());
|
||||||
myDaoConfig.setIndexMissingFields(new DaoConfig().getIndexMissingFields());
|
myDaoConfig.setIndexMissingFields(new DaoConfig().getIndexMissingFields());
|
||||||
myDaoConfig.setMaximumDeleteConflictQueryCount(new DaoConfig().getMaximumDeleteConflictQueryCount());
|
myDaoConfig.setMaximumDeleteConflictQueryCount(new DaoConfig().getMaximumDeleteConflictQueryCount());
|
||||||
|
myDaoConfig.setBundleBatchPoolSize(new DaoConfig().getBundleBatchPoolSize());
|
||||||
|
myDaoConfig.setBundleBatchMaxPoolSize(new DaoConfig().getBundleBatchMaxPoolSize());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
public void beforeDisableResultReuse() {
|
public void beforeDisableResultReuse() {
|
||||||
myDaoConfig.setReuseCachedSearchResultsForMillis(null);
|
myDaoConfig.setReuseCachedSearchResultsForMillis(null);
|
||||||
|
myDaoConfig.setBundleBatchPoolSize(1);
|
||||||
|
myDaoConfig.setBundleBatchMaxPoolSize(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Bundle createInputTransactionWithPlaceholderIdInMatchUrl(HTTPVerb theVerb) {
|
private Bundle createInputTransactionWithPlaceholderIdInMatchUrl(HTTPVerb theVerb) {
|
||||||
|
|
Loading…
Reference in New Issue