Fail test with timeout and stack dump after 20 min rather than 1h

This commit is contained in:
Simon Willnauer 2013-12-17 12:26:14 +01:00
parent c64abaae7e
commit 75b6415b1a
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ import java.util.concurrent.TimeUnit;
*/
@ThreadLeakFilters(defaultFilters = true, filters = {ElasticsearchThreadFilter.class})
@ThreadLeakScope(Scope.NONE)
@TimeoutSuite(millis = TimeUnits.HOUR) // timeout the suite after 1h and fail the test.
@TimeoutSuite(millis = 20 * TimeUnits.MINUTE) // timeout the suite after 20min and fail the test.
@Listeners(LoggingListener.class)
public abstract class ElasticsearchTestCase extends AbstractRandomizedTest {