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

REST TestSuite has execution order issues

    XMLWordPrintable

Details

    Description

      Depending on the @Test method execution order the REST test suite randomly fail.

      This seems to effect all ftests and local tests, RestClientTestCase.

      If the ban* @Test methods are executed first, everything is ok. The banX methods will call findAllCustomers on CustomerResourceImpl and if it's the first call create Customer with id (nextId()) 1 and 2 which the Test Case is trying to lookup.

      If on the other hand some of the following @Test methods run first, createCustomerBareResource, manualClassModifier, nextId() is invoked and when banX methods are called later and the 'customer list' is created, the expected Customers now have id 3-4.

      Attachments

        Activity

          People

            blabno Bernard Labno (Inactive)
            aslak@redhat.com Aslak Knutsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: