• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package test.timeout;
2 
3 import org.testng.annotations.Test;
4 
5 public class TestTimeOutSampleTest {
6 
7     @Test
timeoutTest()8     public void timeoutTest() {
9         try {
10             Thread.sleep(2_000);
11         } catch (InterruptedException handled) {
12             Thread.currentThread().interrupt();
13         }
14     }
15 }
16