本案例在testng中遇到,意思是用例超过了,写的超时时间,把超时时间改大点就行了。
didn't finish within the time-out 60000
public class TestTimeout {
@Test(timeOut = 5000) // time in mulliseconds
public void testThisShouldPass() throws InterruptedException {
Thread.sleep(4000);
}
@Test(timeOut = 1000)
public void testThisShouldFail() {
while (true);
}