Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-841

mvn clean install of Atlas is failing python unit tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.7-incubating
    • None
    • None

    Description

      Run mvn clean install on master, git id: 65d95ebe23744f72c0ed40b9a171d3c42cd2906c. It fails as below:

      [INFO] --- exec-maven-plugin:1.2.1:exec (python-test) @ atlas-distro ---
      test_jar_java_lookups_fail (TestMetadata.TestMetadata) ... ok
      test_jar_java_lookups_succeed_from_path (TestMetadata.TestMetadata) ... ok
      test_main (TestMetadata.TestMetadata) ... Apache Atlas Server started!!!
      
      FAIL
      
      ======================================================================
      FAIL: test_main (TestMetadata.TestMetadata)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/Users/hyamijala/projects/hwx/atlas/src/atlas/distro/src/test/mock/mock.py", line 1199, in patched
          return func(*args, **keywargs)
        File "/Users/hyamijala/projects/hwx/atlas/src/atlas/distro/src/test/python/scripts/TestMetadata.py", line 58, in test_main
          self.assertTrue(configure_hbase_mock.called)
      AssertionError: False is not true
      
      ----------------------------------------------------------------------
      Ran 3 tests in 0.004s
      
      FAILED (failures=1)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      

      Attachments

        1. ATLAS-841.patch
          6 kB
          Hemanth Yamijala

        Activity

          People

            yhemanth Hemanth Yamijala
            yhemanth Hemanth Yamijala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: