Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-1042

TestEventService.testSesionHandleEvent fails intermittently

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6
    • server, test
    • None

    Description

      Error Message
      
      expected [true] but found [false]
      Stacktrace
      
      java.lang.AssertionError: expected [true] but found [false]
      	at org.testng.Assert.fail(Assert.java:94)
      	at org.testng.Assert.failNotEquals(Assert.java:494)
      	at org.testng.Assert.assertTrue(Assert.java:42)
      	at org.testng.Assert.assertTrue(Assert.java:52)
      	at org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:403)
      Standard Output
      
      @@@@ Got Event: Type= org.apache.lens.server.api.session.SessionOpened obj = SessionOpened(super=SessionEvent(sessionHandle=<?xml version="1.0" encoding="UTF-8" standalone="yes"?><lensSessionHandle><publicId>b5528854-4452-496d-a97f-0772c5c0bcd8</publicId><secretId>1891cde4-90fb-414d-b162-0a0854b0a9ba</secretId></lensSessionHandle>, id=c05af6e3-4498-46fe-b83a-f1aab9499005), user=user)
      @@@@ Got Event: Type= org.apache.lens.server.api.session.SessionRestored obj = SessionRestored(super=SessionEvent(sessionHandle=<?xml version="1.0" encoding="UTF-8" standalone="yes"?><lensSessionHandle><publicId>b5528854-4452-496d-a97f-0772c5c0bcd8</publicId><secretId>1891cde4-90fb-414d-b162-0a0854b0a9ba</secretId></lensSessionHandle>, id=09e24c8b-10d5-4e01-815e-049d62e935ec))
      @@@@ Got Event: Type= org.apache.lens.server.query.TestEventService$1 obj = org.apache.lens.server.query.TestEventService$1@45e0744
      @@@@ Got Event: Type= org.apache.lens.server.api.session.SessionClosed obj = SessionClosed(super=SessionEvent(sessionHandle=<?xml version="1.0" encoding="UTF-8" standalone="yes"?><lensSessionHandle><publicId>b5528854-4452-496d-a97f-0772c5c0bcd8</publicId><secretId>1891cde4-90fb-414d-b162-0a0854b0a9ba</secretId></lensSessionHandle>, id=2a4cc8cd-f025-434c-acf8-b9e7ed11872f))
      @@@@ Got Event: Type= org.apache.lens.server.api.session.SessionExpired obj = SessionExpired(super=SessionClosed(super=SessionEvent(sessionHandle=<?xml version="1.0" encoding="UTF-8" standalone="yes"?><lensSessionHandle><publicId>b5528854-4452-496d-a97f-0772c5c0bcd8</publicId><secretId>1891cde4-90fb-414d-b162-0a0854b0a9ba</secretId></lensSessionHandle>, id=65ea3954-dfd9-435d-85aa-1fbe08db076a)))
      

      Failure at https://builds.apache.org/job/PreCommit-Lens-Build/431/testReport/junit/org.apache.lens.server.query/TestEventService/testSesionHandleEvent/

      Attachments

        1. LENS-1042_01.patch
          2 kB
          Raju Bairishetti
        2. LENS-1042.patch
          2 kB
          Raju Bairishetti

        Activity

          People

            raju.bairishetti Raju Bairishetti
            amareshwari Amareshwari Sriramadasu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: