[JBoss JIRA] (ARQ-2206) Arquillian stops container if another thread gets statred within the method
by user 123 (Jira)
user 123 created ARQ-2206:
-----------------------------
Summary: Arquillian stops container if another thread gets statred within the method
Key: ARQ-2206
URL: https://issues.redhat.com/browse/ARQ-2206
Project: Arquillian
Issue Type: Bug
Reporter: user 123
I am using arquillian for writing integration test cases and the method for which I am writing the test case has some nested methods with @Asynchronous annotation which is causing issue as arquillian stops the container when current transaction gets completed and did not process any new thread because of that I am not able to write test case for whole process in one go. Something like below
Method 1
public void method1()
{
//some process
method2();
//esit from method
}
Method 2
*@Asynchronous*
public void method2()
{
//some process
}
Test Method
public void testMethod1()
{
method1();
}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months