1package test.timeout;
2
3import org.testng.annotations.Test;
4
5/**
6 * Tests timeouts set from testng.xml
7 * @author cbeust
8 */
9public class TimeOutSample2Test {
10
11  @Test(timeOut = 1_500)
12  public void timeoutShouldFailByTimeOut() throws InterruptedException {
13      Thread.sleep(10_000);
14  }
15}
16