Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3112

Ranger usersync unit test cases are failing on mac

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0, 2.2.0
    • 3.0.0, 2.2.0
    • Ranger, usersync
    • None

    Description

      Following unix sync unit tests are failing when compiling on mac:

      [INFO] Running org.apache.ranger.unixusersync.process.TestUnixUserGroupBuilder[INFO] Running org.apache.ranger.unixusersync.process.TestUnixUserGroupBuilder[ERROR] Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 5.058 s <<< FAILURE! - in org.apache.ranger.unixusersync.process.TestUnixUserGroupBuilder[ERROR] testBuilderNss(org.apache.ranger.unixusersync.process.TestUnixUserGroupBuilder)  Time elapsed: 1.674 s  <<< FAILURE!java.lang.AssertionError at org.apache.ranger.unixusersync.process.TestUnixUserGroupBuilder.testBuilderNss(TestUnixUserGroupBuilder.java:83)
      [ERROR] testBuilderPasswd(org.apache.ranger.unixusersync.process.TestUnixUserGroupBuilder)  Time elapsed: 0.004 s  <<< FAILURE!java.lang.AssertionError at org.apache.ranger.unixusersync.process.TestUnixUserGroupBuilder.testBuilderPasswd(TestUnixUserGroupBuilder.java:65)
      [INFO][INFO] Results:[INFO][ERROR] Failures:[ERROR]   TestUnixUserGroupBuilder.testBuilderNss:83[ERROR]   TestUnixUserGroupBuilder.testBuilderPasswd:65[INFO][ERROR] Tests run: 28, Failures: 2, Errors: 0, Skipped: 0[INFO][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------

      Attachments

        Activity

          People

            spolavarapu Sailaja Polavarapu
            spolavarapu Sailaja Polavarapu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: