Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13547

NoServletAuthenticationFilterTest is unstable

    XMLWordPrintable

Details

    Description

      Acceptance Criteria (Required on creation):

      • The test sometimes fails with
        RepositoryService$$EnhancerByMockitoWithCGLIB$$66a546dc cannot be returned by getIdentityService()
        getIdentityService() should return IdentityService
        ***
        If you're unsure why you're getting above error read on.
        Due to the nature of the syntax above problem might occur because:
        1. This exception *might* occur in wrongly written multi-threaded tests.
           Please refer to Mockito FAQ on limitations of concurrency testing.
        2. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies - 
           - with doReturn|Throw() family of methods. More in javadocs for Mockito.spy() method.
        

      Hints (Optional):

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              thorben.lindhauer Thorben Lindhauer
              Tobias Metzke-Bernstein Tobias Metzke-Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce