Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-324

CDI-Test failures in extensions modules on certain environments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4-incubating
    • 0.4-incubating
    • Extensions
    • None

    Description

      Certain ASF nodes with older Ubuntu LTS versions show test failures in CDI-Tests:

      Tests in error:
        CDIAwareServiceContextTest.getServiceReturnsInstanceWithHighestPriority:57 » IllegalState
        CDIAwareServiceContextTest.getServiceReturnsNonCachedInstanceAtFirstCall:32 » IllegalState
        CDIAwareServiceContextTest.getServiceReturnsNullIfThereAreNoRegisteredSPIInstancesAvailable:50 » IllegalState
        CDIAwareServiceContextTest.getServiceReturnsOnSecondCallCachedInstance:40 » IllegalState
      

       

      Williams commits:

      First, the CDIAwareServiceContextTest now uses the same Arquillian
      backing as various other successful tests.

      Second, the ConfiguredVetoExtensionTest is now more idempotent with respect
      to the ConfigurationProvider.  Previously, it would leave the shared
      ConfigurationProvider pointing at the mocked ConfigurationContext, which
      caused other tests (specifically ConfiguredBTest) which rely on a valid
      ConfigurationContext to fail.

      Attachments

        1. TAMAYA-324.patch
          10 kB
          William Lieurance

        Activity

          People

            pottlinger Philipp Ottlinger
            pottlinger Philipp Ottlinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: