hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@hortonworks.com>
Subject Re: timeout is now requested to be on all tests
Date Thu, 21 Feb 2013 10:28:08 GMT
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 <evans@yahoo-inc.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message