From d8c89128bc522f2af6d3b49f725ebed7bb6511c1 Mon Sep 17 00:00:00 2001 From: Long Ma Date: Tue, 23 Jul 2024 13:39:46 -0600 Subject: [PATCH] reverted test testDirectPathWholeResourceNotIndexedWorks in FhirResourceDaoR4SearchWithElasticSearchIT --- .../dao/r4/FhirResourceDaoR4SearchWithElasticSearchIT.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-elastic-test-utilities/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchWithElasticSearchIT.java b/hapi-fhir-jpaserver-elastic-test-utilities/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchWithElasticSearchIT.java index dedf7c750dc..9dde6de6086 100644 --- a/hapi-fhir-jpaserver-elastic-test-utilities/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchWithElasticSearchIT.java +++ b/hapi-fhir-jpaserver-elastic-test-utilities/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchWithElasticSearchIT.java @@ -928,7 +928,10 @@ public class FhirResourceDaoR4SearchWithElasticSearchIT extends BaseJpaTest impl // set it after creating resource, so search doesn't find it in the index myStorageSettings.setStoreResourceInHSearchIndex(true); - List result = searchForFastResources("Observation?code=theCode&_count=10&_total=accurate"); + myCaptureQueriesListener.clear(); + + List result = searchForFastResources("Observation?code=theCode"); + myCaptureQueriesListener.logSelectQueriesForCurrentThread(); assertThat(result).hasSize(1); assertEquals(((Observation) result.get(0)).getIdElement().getIdPart(), id1.getIdPart());