Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2206

Arquillian stops container if another thread gets statred within the method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major 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.

              Unassigned Unassigned
              komalsharma0022 user 123 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: