This commit is contained in:
jamesagnew 2020-09-16 09:07:33 -04:00
parent c884f29112
commit b64e982ec3
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
type: add
issue: 2083
title: "The JPA search coordinator will now use worker threads sourced from a ThreadPoolTaskExecutor, in order to simplify
the addition of decorators to those threads. Thanks to Tue Toft Nørgård for the pull requets!"

View File

@ -384,6 +384,7 @@ public class NpmTestR4 extends BaseJpaR4Test {
PackageInstallationSpec spec = new PackageInstallationSpec().setName("hl7.fhir.uv.shorthand").setVersion("0.12.0").setInstallMode(PackageInstallationSpec.InstallModeEnum.STORE_ONLY); PackageInstallationSpec spec = new PackageInstallationSpec().setName("hl7.fhir.uv.shorthand").setVersion("0.12.0").setInstallMode(PackageInstallationSpec.InstallModeEnum.STORE_ONLY);
igInstaller.install(spec); igInstaller.install(spec);
runInTransaction(() -> { runInTransaction(() -> {
NpmPackageVersionEntity versionEntity = myPackageVersionDao.findByPackageIdAndVersion("hl7.fhir.uv.shorthand", "0.12.0").orElseThrow(() -> new IllegalArgumentException()); NpmPackageVersionEntity versionEntity = myPackageVersionDao.findByPackageIdAndVersion("hl7.fhir.uv.shorthand", "0.12.0").orElseThrow(() -> new IllegalArgumentException());
assertEquals(true, versionEntity.isCurrentVersion()); assertEquals(true, versionEntity.isCurrentVersion());