You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rene Gielen (JIRA)" <ji...@apache.org> on 2011/06/03 19:44:47 UTC

[jira] [Updated] (WW-3633) building trunk/xwork-core@1125860 fails test: testNeedsReload(com.opensymphony.xwork2.config.providers.XmlConfigurationProviderTest)

     [ https://issues.apache.org/jira/browse/WW-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rene Gielen updated WW-3633:
----------------------------

    Comment: was deleted

(was:  if ( result == SurefireBooter.NO_TESTS_EXIT_CODE )
 {
                if ( ( failIfNoTests == null ) || !failIfNoTests.booleanValue() ) return;
                // TODO: i18n
                throw new MojoFailureException( "No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.)" );
} else {
                // TODO: i18n
                msg = "There are test failures.\n\nPlease refer to " + reportsDirectory + " for the individual test results.";
}

<build>
 <plugins>
  <plugin>
    <groupId>org.apache.maven</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <configuration>
       <failIfNoTests>false</failIfNoTests>
    </configuration>
  </plugin>
 </plugins>
</build>)

> building trunk/xwork-core@1125860 fails test: testNeedsReload(com.opensymphony.xwork2.config.providers.XmlConfigurationProviderTest)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-3633
>                 URL: https://issues.apache.org/jira/browse/WW-3633
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.3
>         Environment: jpyeron@reclaimed /projects/struts/struts2/trunk
> $ mvn -v
> Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Program Files\Apache Software Foundation\apache-maven-3.0.3
> Java version: 1.6.0_25, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_25\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
>            Reporter: Jason Pyeron
>         Attachments: WW-3633-v2.patch
>
>
> jpyeron@reclaimed /projects/struts/struts2/trunk
> $ svn info
> Path: .
> URL: http://svn.apache.org/repos/asf/struts/struts2/trunk
> Repository Root: http://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 1125860
> Node Kind: directory
> Schedule: normal
> Last Changed Author: lukaszlenart
> Last Changed Rev: 1103618
> Last Changed Date: 2011-05-16 02:19:33 -0400 (Mon, 16 May 2011)
> jpyeron@reclaimed /projects/struts/struts2/trunk
> $ cd /projects/struts/struts2/trunk/xwork-core/ && mvn clean && mvn && cd /projects/struts/struts2/trunk/core/ && mvn clean && mvn
> <SNIP/>
> Results :
> Failed tests:
>   testNeedsReload(com.opensymphony.xwork2.config.providers.XmlConfigurationProviderTest)
> Tests run: 657, Failures: 1, Errors: 0, Skipped: 0
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:58.641s
> [INFO] Finished at: Sat May 21 23:44:14 EDT 2011
> [INFO] Final Memory: 12M/53M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project xwork-core: There are test failures.
> [ERROR]
> [ERROR] Please refer to C:\Documents and Settings\All Users\Desktop\projects\struts\struts2\trunk\xwork-core\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
> is this similar to WW-2203 ?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira