]
Aslak Knutsen resolved ARQ-1071.
--------------------------------
Assignee: Aslak Knutsen
Fix Version/s: 1.1.4.Final
Resolution: Done
upstream
NullPointerException when timeout is set in @Test when using JUnit
------------------------------------------------------------------
Key: ARQ-1071
URL:
https://issues.jboss.org/browse/ARQ-1071
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.0.0.Final, 1.0.1.Final, 1.1.3.Final
Reporter: Rick-Rainer Ludwig
Assignee: Aslak Knutsen
Fix For: 1.1.4.Final
When defining a timeout in @Test of JUnit Arquillian throws a NullPointerException:
{code}
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)
{code}
The code to reproduce this:
{code}
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);
}
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: