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

RPS test RangerHawqAuthorizerServiceNameTest fails sometimes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0.0-incubating
    • 2.2.0.0-incubating
    • Security
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: