-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
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(); }
using wildfly 16 as container.