*
* @return Returns timeout in milliseconds or 0 if the test should run until
* finished (possibly blocking forever).
*/
private int determineTimeout(Class<?> suiteClass) {
TimeoutSuite timeoutAnn = suiteClass.getAnnotation(TimeoutSuite.class);
return suiteTimeout.getTimeout(timeoutAnn == null ? null : timeoutAnn.millis());
}