0 Replies Latest reply on Aug 7, 2014 2:47 AM by Alexandr Sokolov

    Run two thread concurrently in one test

    Alexandr Sokolov Newbie

      I want to run in one test method two threads. Each one in their own transaction. EJB2 service is used. In both threads change the same entity state. Check result. How can I do it? I use arquillian for integration tests to make sure EJB services work OK.

      How to inject services or pass transaction in the threads?