Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # dev >> timeout is now requested to be on all tests


Copy link to this message
-
Re: timeout is now requested to be on all tests
thanks, just seen and commented on this.

IF we're going to have test timeouts, we need a good recommended default
value for all tests except the extra slow ones.

Or
1. we just use our own JUnit fork that sets up a better default value than
0. I don't know how Ken would react to that.
2. we get maven sure to support a programmable (default) timeout for every
test case. This is probably easier, and would work for all existing tests
too.

Has anyone asked the Maven team about options here?

On 20 February 2013 16:46, Robert Evans <[EMAIL PROTECTED]> wrote:

> Sorry about cross posting, but this will impact all developers and I
> wanted to give you all a heads-up.
>
> HADOOP-9112<https://issues.apache.org/jira/browse/HADOOP-9112> was just
> checked it.  This means that the pre commit build will now give a –1 for
> any patch with junit tests that do not include a timeout option.  See
> http://junit.sourceforge.net/javadoc/org/junit/Test.html for more info on
> that.  This is to avoid surefire timing out junit when it gets stuck and
> not giving any real feedback on which test failed.
>
> --Bobby
>