-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Final, 1.0.1.Final, 1.1.3.Final
-
None
-
None
When defining a timeout in @Test of JUnit Arquillian throws a NullPointerException:
java.lang.NullPointerException at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOfTimeout.java:62)
The code to reproduce this:
import org.jboss.arquillian.junit.Arquillian; import org.junit.Test; import org.junit.runner.RunWith; @RunWith(Arquillian.class) public class TestTimeout { @Test(timeout = 3000) public void test() throws Exception { Thread.sleep(1000); } }