Add a timeout property to the plugin
------------------------------------
Key: SUREFIRE-320
URL: http://jira.codehaus.org/browse/SUREFIRE-320
Project: Maven Surefire
Issue Type: New Feature
Affects Versions: 2.3
Reporter: Daniel Beland
It would be nice to have a timeout property when we fork the tests in a
different jvm, as it was in the maven 1 test plugin.
Sometimes our test may be blocked because of a lock in the database and hangs
forever. With the timeout property, the test would eventually fail, we would
receive an email from cruise control and be able to correct the situation if we
have to, or we just wait for the next time it runs as the lock will then
probably be gone.
Other usage for this, is when we test an asynchronous process (like a BPEL),
since we receive an immediate reply, we need to scan the database until we see
the result to confirm the test succes. We could iterate N times with a sleep
after each iteration, but setting the timeout property is much more convenient
and easier to change.
--
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