salaboy / drools-workshop

drools workshop resources
Apache License 2.0
38 stars 52 forks source link

Tests failed on Drools-rules-examples #4

Open carlosjgp opened 8 years ago

carlosjgp commented 8 years ago

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.344 sec

Results :

Failed tests: test20PersonsInARoom(org.drools.workshop.features.AccumulationRulesJUnitTest): expected:<2> but was:<1>

Tests run: 23, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.127 s [INFO] Finished at: 2016-06-15T10:16:54+01:00 [INFO] Final Memory: 14M/309M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project drools-rules-examples: There are test failures. [ERROR] [ERROR] Please refer to /Volumes/HDD/git/drools-workshop/drools-rules-examples/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException ✘  ~/git/drools-workshop/drools-rules-examples   master  mvn --version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00) Maven home: /usr/local/Cellar/maven/3.3.9/libexec Java version: 1.8.0_92, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre Default locale: es_ES, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.5", arch: "x86_64", family: "mac"

carlosjgp commented 8 years ago

You can install this artifact skipping the tests:

mvn clean install -DskipTests

Since it's needed by phreak-inspector artifact that also fails in the test phase and needs to be run skipping the tests:

Tests in error: doTest(org.drools.devguide.phreakinspector.PhreakInspectorTest): Unable to get LastModified for ClasspathResource

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0