You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2007/07/05 23:04:13 UTC
[jira] Commented: (MPTEST-75) Final test failure leads to strange
formatted error
[ http://jira.codehaus.org/browse/MPTEST-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101405 ]
Lukas Theussl commented on MPTEST-75:
-------------------------------------
Note the difference between failures and errors, apparently you are using maven.test.failure.ignore=true (right?), but the build fails because of an error.
> Final test failure leads to strange formatted error
> ---------------------------------------------------
>
> Key: MPTEST-75
> URL: http://jira.codehaus.org/browse/MPTEST-75
> Project: Maven 1.x Test Plugin
> Issue Type: Bug
> Affects Versions: 1.8.2
> Reporter: Andy Jefferson
>
> When running JUnit tests with Maven 1.1.0 on Linux if the final test fails I get non-standard output. To attempt to explain better ...
> [junit] Running org.jpox.tests.NondurableIdTest
> [junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 5.947 sec
> [junit] [ERROR] Test org.jpox.tests.NondurableIdTest FAILED
> [junit] Running org.jpox.tests.ObjectFCOTest
> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.471 sec
> [junit] Running org.jpox.tests.PersistenceManagerFactoryImplTest
> [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 25.693 sec
> [junit] Running org.jpox.tests.PersistenceManagerImplTest
> [junit] Tests run: 49, Failures: 1, Errors: 0, Time elapsed: 8.589 sec
> [junit] [ERROR] Test org.jpox.tests.PersistenceManagerImplTest FAILED
> [junit] Running org.jpox.tests.SequenceTest
> [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.072 sec
> [junit] Running org.jpox.tests.SerializationTest
> [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 3.607 sec
> [junit] Running org.jpox.tests.TransactionTest
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.142 sec
> [junit] Running org.jpox.tests.TypeManagerTest
> [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
> [junit] Running org.jpox.tests.TypeStorageTest
> [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 11.486 sec
> [junit] Running org.jpox.tests.TypesMappingTest
> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
> [junit] Running org.jpox.tests.ViewTest
> [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 2.33 sec
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [test:test]
> >> Test org.jpox.tests.ViewTest failed
> -------------------------------------------------------------------------------
> BUILD FAILED
> So normally when a test fails you get the line [ERROR] but when its the final test you dont get that and get the ugly "Unable to obtain goal" etc. Why is it not displaying the final test correctly?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira