You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kihwal Lee (JIRA)" <ji...@apache.org> on 2013/08/09 23:46:48 UTC

[jira] [Commented] (HADOOP-9853) Please upgrade maven-surefire-plugin to version 2.14.1 or later

    [ https://issues.apache.org/jira/browse/HADOOP-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13735351#comment-13735351 ] 

Kihwal Lee commented on HADOOP-9853:
------------------------------------

I tried maven-surefire-plugin 2.14.1. With "-Dmaven.test.failure.ignore" set, it continues even after a timeout and build succeeds. The old version would stop regardless of the setting.  But the surefire report is still missing for the timed out test, so we could very easily overlook such failures.

It does print out the following error, though. 

{noformat}
[ERROR] There was a timeout or other error in the fork
{noformat}

If the test JVM crashes or System.exit() is called, the build still fails right away.

                
> Please upgrade maven-surefire-plugin to version 2.14.1 or later 
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9853
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9853
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build, tools
>    Affects Versions: 2.1.0-beta
>            Reporter: Randy Clayton
>
> Current version of maven-surefire-plugin fails when individual test times out causing test suite to stop. Newer plugin issues correct error message and allows test suite to continue until completion. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira