OpenMRS Core Master
Build: #2340 was successful Changes by teleivo <teleivo@users.noreply.github.com>
Code commits
openmrs-core
-
teleivo <teleivo@users.noreply.github.com> 6dc1a7451c3fc60a9687e7ebb31f197d8b443932
TRUNK-5816 Attempt fix failing HandlerTests on Windows
according to spotbugs
https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#obl-method-may-fail-to-clean-up-stream-or-resource-obl-unsatisfied-obligation
both Handlers that have failing tests on Windows are not cleaning up
InputStream's on their getObs() method
I am trying to close these streams since we know in the test the
ComplexData.data is an InputStream- api/src/test/java/org/openmrs/obs/BinaryStreamHandlerTest.java (version 6dc1a7451c3fc60a9687e7ebb31f197d8b443932)
- api/src/test/java/org/openmrs/obs/MediaHandlerTest.java (version 6dc1a7451c3fc60a9687e7ebb31f197d8b443932)