Test skip [unwanted]

With “mvn clean package”, integration test files in FHIR2 modules are being skipped. What should be done to make sure that this does not happen?

Sorry about that. Mine is passing :slightly_smiling_face:, Have you made changes in fhir2 module. Do ou mind sharing the logs.

here is the log https://pastebin.com/7LQYs5Pi

skip non existing resourceDirectory /home/richa/openmrs-module-fhir2/integration-tests-2.1/src/main/resources
skip non existing resourceDirectory /home/richa/openmrs-module-fhir2/integration-tests-2.1/src/main/resources
skip non existing resourceDirectory /home/richa/openmrs-module-fhir2/integration-tests-2.1/src/main/webapp
skip non existing resourceDirectory /home/richa/openmrs-module-fhir2/integration-tests-2.1/src/main/webapp

skip non existing resourceDirectory /home/richa/openmrs-module-fhir2/integration-tests-2.2/src/main/resources
skip non existing resourceDirectory /home/richa/openmrs-module-fhir2/integration-tests-2.2/src/main/resources
skip non existing resourceDirectory /home/richa/openmrs-module-fhir2/integration-tests-2.2/src/main/webapp
skip non existing resourceDirectory /home/richa/openmrs-module-fhir2/integration-tests-2.2/src/main/webapp

Reading from the logs, the resource directories being cited out are non existing in those respective sub-modules because the fhir2 resources stored in test-data sub-module are shared/used by both unit and integration tests.

The integration tests are running within openmrs-module-fhir2/integration-tests-2.2/src/test/java/org/openmrs/module/fhir2/provider and openmrs-module-fhir2/integration-tests-2.1/src/test/java/org/openmrs/module/fhir2/provider