From 329675a81dcf7307ecebb6585d28faf21b659f7b Mon Sep 17 00:00:00 2001 From: James Agnew Date: Mon, 12 Feb 2018 15:38:38 -0500 Subject: [PATCH] Fix test --- .../fhir/jpa/dao/r4/FhirResourceDaoR4SearchPageExpiryTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchPageExpiryTest.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchPageExpiryTest.java index 4d056b65aa3..48dd7d48d59 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchPageExpiryTest.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchPageExpiryTest.java @@ -375,6 +375,8 @@ public class FhirResourceDaoR4SearchPageExpiryTest extends BaseJpaR4Test { } }); + mySearchCoordinatorSvc.cancelAllActiveSearches(); + myDaoConfig.setExpireSearchResults(true); myStaleSearchDeletingSvc.pollForStaleSearchesAndDeleteThem();