Skip to content

Commit b3e314d

Browse files
committed
Add Changelog Tests
1 parent ec333fc commit b3e314d

5 files changed

Lines changed: 2826 additions & 1 deletion

File tree

cqf-fhir-cr-hapi/src/main/java/org/opencds/cqf/fhir/cr/hapi/common/HapiCreateChangelogProcessor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,12 @@ public IBaseResource createChangelog(
8383
targetBundle = (Bundle) packages.get(1).get();
8484
service.shutdownNow();
8585
} catch (InterruptedException | ExecutionException e) {
86-
service.shutdownNow();
8786
if (e instanceof InterruptedException) {
8887
Thread.currentThread().interrupt();
8988
}
9089
throw new UnprocessableEntityException(e.getMessage());
90+
} finally {
91+
service.shutdown();
9192
}
9293

9394
// 2) Fill the cache with the bundle contents

0 commit comments

Comments
 (0)