more trying to save memory in tests
This commit is contained in:
parent
4f8a8108a4
commit
69f31442bc
|
@ -138,6 +138,10 @@ public class ValidationTests implements IEvaluationContext, IValidatorResourceFe
|
|||
@AfterAll
|
||||
public void cleanup() {
|
||||
ve = null;
|
||||
vCurr = null;
|
||||
igLoader = null;
|
||||
manifest = null;
|
||||
System.gc();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
|
@ -185,6 +189,11 @@ public class ValidationTests implements IEvaluationContext, IValidatorResourceFe
|
|||
// }
|
||||
// TestingUtilities.fcontexts.put(version, vCurr.getContext());
|
||||
|
||||
if (content.has("close-up")) {
|
||||
cleanup();
|
||||
Assertions.assertTrue(true);
|
||||
return;
|
||||
}
|
||||
if (content.has("use-test") && !content.get("use-test").getAsBoolean())
|
||||
return;
|
||||
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -19,7 +19,7 @@
|
|||
|
||||
<properties>
|
||||
<hapi_fhir_version>6.2.1</hapi_fhir_version>
|
||||
<validator_test_case_version>1.2.25</validator_test_case_version>
|
||||
<validator_test_case_version>1.2.26-SNAPSHOT</validator_test_case_version>
|
||||
<junit_jupiter_version>5.7.1</junit_jupiter_version>
|
||||
<junit_platform_launcher_version>1.8.2</junit_platform_launcher_version>
|
||||
<maven_surefire_version>3.0.0-M5</maven_surefire_version>
|
||||
|
|
Loading…
Reference in New Issue