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

NullPointerException in arquillianBeforeClass when running with testng in parallel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 1.0.0.CR1, 1.0.0.CR2
    • Base Implementation
    • None
    • Hide

      run testng with the following testng.xml suite definition:
      <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
      <suite name="Suite1" verbose="1" parallel="methods" thread-count="1">
      <test name="DriverTest">
      <classes>
      <class name="..."/>
      </classes>
      </test>
      </suite>

      Show
      run testng with the following testng.xml suite definition: <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > <suite name="Suite1" verbose="1" parallel="methods" thread-count="1"> <test name="DriverTest"> <classes> <class name="..."/> </classes> </test> </suite>

    Description

      Running with testng in parallel causes a NPE in org.jboss.arquillian.testng.Arquillian.arquillianBeforeClass(Arquillian.java:76), even with one thread.
      testng runs arquillianBeforeSuite on main, but arquillianBeforeClass on pool-2-thread-1

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tahintz_jira Tom Hintz (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: