kapua icon indicating copy to clipboard operation
kapua copied to clipboard

Cannot Run Kapua Unit Tests

Open LeoNerdoG opened this issue 4 years ago • 0 comments

Following the KapuaRunTests.md guide, I was unable to run unit tests with command mvn test -Dgroups='org.eclipse.kapua.test.junit.JUnitTests'. integration tests within dockerized environment with mvn test -PI9nTests command. @Coduz can you please assign this issue to me, since I have noticed this couple of days ago and have made some progress fixing this?

Testflow:

  1. Go to Kapua folder, run a clean build with comman: mvn clean install -DskipTests
  2. After the build finishes, run the command: mvn test -Dgroups='org.eclipse.kapua.test.junit.JUnitTests'
  3. Observe the error in the command line (screenshot bellow)

Expected behavior If user runs command mvn test -Dgroups='org.eclipse.kapua.test.junit.JUnitTests' the unit tests should be run normally.

Screenshots Screenshot 2020-06-04 at 08 03 07

Version of Kapua 1.3.0-SNAPSHOT

Type of deployment [ ] Local Vagrant deployment [X] Docker [ ] Openshift (in its variants) [ ] Others

Main component affected [ ] Console (in case of console please report info on which browser you encountered the problem) [ ] REST API [ ] Message Broker [X] - Others

LeoNerdoG avatar Jun 04 '20 06:06 LeoNerdoG