12 lines
230 B
Java
Raw Normal View History

2017-03-01 16:47:07 +05:30
package baeldung.com;
import org.testng.annotations.Test;
public class TimeOutTest {
@Test(timeOut = 1000, enabled = false)
public void givenExecution_takeMoreTime_thenFail() {
while (true) ;
}
}