[ http://jira.codehaus.org/browse/SUREFIRE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Connolly moved MOJO-1507 to SUREFIRE-604: ------------------------------------------------- Component/s: (was: failsafe) Maven Failsafe Plugin Affects Version/s: (was: failsafe-maven-plugin-2.5) Key: SUREFIRE-604 (was: MOJO-1507) Project: Maven Surefire (was: Mojo) > failsave plugin does not execute post-integrateion-test phase after timeout > via <forkedProcessTimeoutInSeconds> > --------------------------------------------------------------------------------------------------------------- > > Key: SUREFIRE-604 > URL: http://jira.codehaus.org/browse/SUREFIRE-604 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Failsafe Plugin > Environment: maven3 alpha6 > Reporter: Volkmar Nissen > Attachments: failsave.timout.example.zip, MOJO-1507.patch > > > The failsave plugin does not execute post-integrateion-test phase after > timeout via <forkedProcessTimeoutInSeconds> > The attached example project contains > - a integration junit test which runs forever > - a pom.xml which has failsafe configured to fire a timeout after 3 seconds. > - In the pom.xml it's configured to execute the help:describe goal in the > post-integration-test phase in order to check whether the > post-integration-test phase has been triggered even in case of the timeout. > So, something like the following lines are expected in the output (but the > lines do not occure): > [INFO] --- maven-help-plugin:2.1:describe (post-integration-test) @ > failsave.timeout.example --- > [INFO] 'install' is a phase corresponding to this plugin: > org.apache.maven.plugins:maven-install-plugin:install > It is a part of the lifecycle for the POM packaging 'jar'. This lifecycle > includes the following phases: > * validate: Not defined > * initialize: Not defined > * generate-sources: Not defined > * process-sources: Not defined > * generate-resources: Not defined > * process-resources: org.apache.maven.plugins:maven-resources-plugin:resources > * compile: org.apache.maven.plugins:maven-compiler-plugin:compile > * process-classes: Not defined > * generate-test-sources: Not defined > * process-test-sources: Not defined > * generate-test-resources: Not defined > * process-test-resources: > org.apache.maven.plugins:maven-resources-plugin:testResources > * test-compile: org.apache.maven.plugins:maven-compiler-plugin:testCompile > * process-test-classes: Not defined > * test: org.apache.maven.plugins:maven-surefire-plugin:test > * prepare-package: Not defined > * package: org.apache.maven.plugins:maven-jar-plugin:jar > * pre-integration-test: Not defined > * integration-test: Not defined > * post-integration-test: Not defined > * verify: Not defined > * install: org.apache.maven.plugins:maven-install-plugin:install > * deploy: org.apache.maven.plugins:maven-deploy-plugin:deploy > [INFO] > [INFO] --- maven-install-plugin:2.3:install (default-install) @ > failsave.timeout.example --- > [INFO] Installing > C:\hudson\workspacedemo\failsave.timout.example\target\failsave.timeout.example-0.0.1-SNAPSHOT.jar > to > C:\Users\D035406\.m2\repository\failsave\timeout\example\failsave.timeout.example\0.0.1-SNAPSHOT\failsave.timeout.example-0.0.1-SNAPSHOT.jar > [INFO] > ------------------------------------------------------------------------ -- 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