Fail test with timeout and stack dump after 20 min rather than 1h
This commit is contained in:
parent
c64abaae7e
commit
75b6415b1a
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue