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

View Unit Test Failing on OSX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Resolved
    • 2.4.0
    • 2.4.0
    • None
    • None

    Description

      A tests is failing on OSX. This might be due to a timeout being set to low at 7 seconds. This test may also be failing on branch-2.2 and branch-2.2.2. Please investigate whether these branches are also affected.

      testDirectoryExtractionOnFileAdd(org.apache.ambari.server.view.ViewDirectoryWatcherTest)  Time elapsed: 7.021 sec  <<< FAILURE!
      java.lang.AssertionError:
      
        Expectation failure on verify:
          ViewRegistry.readViewArchive(/var/folders/cf/mqxxckld0t927yjxtmfds2vr0000gp/T/test_dir/file.jar): expected: 1, actual: 0
      	at org.apache.ambari.server.view.ViewDirectoryWatcherTest.testDirectoryExtractionOnFileAdd(ViewDirectoryWatcherTest.java:111)
      

      Attachments

        Issue Links

          Activity

            People

              winash Ashwin Rajeev
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: