Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9590

TestSessionRequest functional tests failing due to error in OpenAM

    Details

      Description

      The following tests from com.forgerock.openam.functionaltest.session.TestSessionRequest are failing:

      when operating on a valid session
      when performing a getSessionCount sessionRequest
      retrieves the correct value
      
      java.lang.AssertionError: 
      Expected size:<1> but was:<0> in:
      <{}>
      	at com.forgerock.openam.functionaltest.session.TestSessionRequest.<cuppa test>(TestSessionRequest.java:131)
      
      when operating on a valid session
      when performing a getSessionCount sessionRequest
      caps at the maximum number of sessions
      
      org.junit.ComparisonFailure: expected:<[5]> but was:<[0]>
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at com.forgerock.openam.functionaltest.session.TestSessionRequest.<cuppa test>(TestSessionRequest.java:143)
      
      when operating on a valid session
      when performing a getValidSessions sessionRequest
      retrieves the correct sessions
      
      java.lang.AssertionError: 
      Expecting:
       <["id=generated-username-lmc4dyjtaxbbbn8,ou=user,dc=internal,dc=forgerock,dc=com",
          "id=generated-username-ifp8c6gfrgnkyre,ou=user,dc=internal,dc=forgerock,dc=com",
          "id=generated-username-arlarzhtfscy6v7,ou=user,dc=internal,dc=forgerock,dc=com",
          "id=amadmin,ou=user,dc=internal,dc=forgerock,dc=com"]>
      to contain:
       <["id=amadmin,dc=internal,dc=forgerock,dc=com"]>
      but could not find:
       <["id=amadmin,dc=internal,dc=forgerock,dc=com"]>
      
      	at com.forgerock.openam.functionaltest.session.TestSessionRequest.<cuppa test>(TestSessionRequest.java:162)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tom.rumsey Emma Rumsey [X] (Inactive)
                Reporter:
                craig.mcdonnell Craig McDonnell
                QA Assignee:
                Filip Kubáň [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: