Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-256 Integrate Security with Apache Ranger
  3. HAWQ-1419

RPS test RangerHawqAuthorizerServiceNameTest fails sometimes

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0.0-incubating
    • Fix Version/s: 2.2.0.0-incubating
    • Component/s: Security
    • Labels:
      None

      Description

      Sometimes (especially on centos7) the test fails:

      Running org.apache.hawq.ranger.authorization.RangerHawqAuthorizerServiceNameTest
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec <<< FAILURE!
      testServiceNameIsSet(org.apache.hawq.ranger.authorization.RangerHawqAuthorizerServiceNameTest) Time elapsed: 0.003 sec <<< FAILURE!
      java.lang.AssertionError: expected:<instance> but was:<null>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:834)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.junit.Assert.assertEquals(Assert.java:144)
      at org.apache.hawq.ranger.authorization.RangerHawqAuthorizerServiceNameTest.testServiceNameIsSet(RangerHawqAuthorizerServiceNameTest.java:32)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adenissov Alexander Denissov
                Reporter:
                adenissov Alexander Denissov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: