Failing tests for Toolkit


mvn test -U running on my laptop fails with:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:testCompile (default-testCompile) on project openmrs-api: Compilation failure [ERROR] /home/rob/librehealth/lh-toolkit/api/src/test/java/org/openmrs/api/db/[22,35] error: cannot access HibernateContextDAO

I was able to replicate this in Docker as well.

Also on GitLab CI, it still gets:

OrderServiceTest.saveOrder_shouldThrowAmbiguousOrderExceptionIfDisconnectingMultipleActiveOrdersForTheGivenConcepts Expected exception: org.openmrs.api.AmbiguousOrderException

These are brittle tests and will be replaced over the summer. You can just ignore them for now. They sometimes fail, but usually pass

Okay – I have a docker image I built that will build the war file for deploying after compiling it :slight_smile: