java-tutorials/testng/src/test/java/com/baeldung/TimeOutIntegrationTest.java
Grzegorz Piwowarek b9b230f83e Build optimization 6.07 (#2219)
* refactor testng

* refactor testng

* Remove test suites from surefire

* Refactor

* Refactor
2017-07-06 23:22:41 +02:00

12 lines
230 B
Java

package com.baeldung;
import org.testng.annotations.Test;
public class TimeOutIntegrationTest {
@Test(timeOut = 1000, enabled = false)
public void givenExecution_takeMoreTime_thenFail() {
while (true) ;
}
}