Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5428

failing testGenerateManifest, test_overwrite_repos

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • test
    • None

    Description

      Sometimes unittests fail (got 3 fails for 20 runs)
      ======================================================================
      FAIL: testGenerateManifest (TestManifestGenerator.TestManifestGenerator)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
      return func(*args, **keywargs)
      File "/home/user/ambari/ambari-agent/src/test/python/ambari_agent/TestManifestGenerator.py", line 76, in testGenerateManifest
      self.assertTrue(writeParamsMock.called)
      AssertionError

      ======================================================================
      FAIL: test_overwrite_repos (TestPuppetExecutor.TestPuppetExecutor)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
      return func(*args, **keywargs)
      File "/home/user/ambari/ambari-agent/src/test/python/ambari_agent/TestPuppetExecutor.py", line 142, in test_overwrite_repos
      self.assertTrue(puppetInstance.reposInstalled)
      AssertionError

      Attachments

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: