Open
Description
Issue Overview
If you add a timeout to a testng test using org.jboss.arquillian.testng.Arquillian, everything breaks.
Expected Behaviour
Adding a timeout shouldn't break stuff.
Current Behaviour
It breaks, and it breaks in a very non-obvious manner.
Steps To Reproduce
- Change
@Test
to@Test(timeOut=1000)
on the testArquillianClass1
- Run the test
Additional Information
Tested with testng 6.13.1, but the problem is with arquillian. It runs @BeforeSuite
in a different thread to the test itself. @BeforeSuite
sets up a thread local context object (TestRunnerAdapter), so when the test runs, it doesn't find this object, and everything goes to hell.
Metadata
Assignees
Labels
No labels