Skip to content

Commit 691faed

Browse files
committed
bandaid for senstivie CARIN BB search tests
Two of these tests were sensitive to the resources on the system. This is a quick fix to make them less sensitive, but a more thoughtful approach would be to remove the problem altogether. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
1 parent 62707c3 commit 691faed

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/CarinBlueButtonV100Test.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ public void testCARINBlueButton_Coverage_Patient_SearchParameter() throws Except
439439
@Test
440440
public void testCARINBlueButton_ExplanationOfBenefit_Created_SearchParameter() throws Exception {
441441
FHIRParameters parameters = new FHIRParameters();
442+
parameters.queryParam("_count", "100");
442443
parameters.searchParam("created", "2019-11-02T00:00:00+00:00");
443444
FHIRResponse response = client.search(ExplanationOfBenefit.class.getSimpleName(), parameters);
444445
assertSearchResponse(response, Response.Status.OK.getStatusCode());
@@ -457,6 +458,7 @@ public void testComplicatedInclude() throws Exception {
457458
*/
458459
FHIRParameters parameters = new FHIRParameters();
459460
parameters.searchParam("patient", "Patient/Patient1");
461+
parameters.queryParam("_count", "100");
460462
parameters.searchParam("_lastUpdated", "ge2020");
461463
parameters.searchParam("_include", "ExplanationOfBenefit:patient");
462464
parameters.searchParam("_include", "ExplanationOfBenefit:provider");

fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/CarinBlueButtonV110Test.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ public void testCARINBlueButton_Coverage_Patient_SearchParameter() throws Except
439439
@Test
440440
public void testCARINBlueButton_ExplanationOfBenefit_Created_SearchParameter() throws Exception {
441441
FHIRParameters parameters = new FHIRParameters();
442+
parameters.queryParam("_count", "100");
442443
parameters.searchParam("created", "2019-11-02T00:00:00+00:00");
443444
FHIRResponse response = client.search(ExplanationOfBenefit.class.getSimpleName(), parameters);
444445
assertSearchResponse(response, Response.Status.OK.getStatusCode());
@@ -457,6 +458,7 @@ public void testComplicatedInclude() throws Exception {
457458
*/
458459
FHIRParameters parameters = new FHIRParameters();
459460
parameters.searchParam("patient", "Patient/Patient1");
461+
parameters.queryParam("_count", "100");
460462
parameters.searchParam("_lastUpdated", "ge2020");
461463
parameters.searchParam("_include", "ExplanationOfBenefit:patient");
462464
parameters.searchParam("_include", "ExplanationOfBenefit:provider");

0 commit comments

Comments
 (0)