[ 
https://issues.apache.org/jira/browse/AMBARI-9859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Levas updated AMBARI-9859:
---------------------------------
    Attachment: AMBARI-9859_01.patch

Fixed expected hash value

Patch File [^AMBARI-9859_01.patch]


> TestResourceFilesKeeper unit tests fail
> ---------------------------------------
>
>                 Key: AMBARI-9859
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9859
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9859_01.patch
>
>
> `Tests fail after commit
> {noformat}
> 4c222ce Robert Levas at 28.02.2015 3:39 (committed at 28.02.2015 3:41) 
> AMBARI-9785. Root user has spnego (HTTP) kerberos ticket set after Kerberos 
> is enabled, root should have no ticket. (rlevas)
> {noformat}
> Failed tests
> {noformat}
> ======================================================================
> FAIL: test_count_hash_sum (TestResourceFilesKeeper.TestResourceFilesKeeper)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/dmitry/ssd/incubator-ambari/ambari-server/src/test/python/TestResourceFilesKeeper.py",
>  line 234, in test_count_hash_sum
>     self.assertEquals(hash_sum, self.DUMMY_UNCHANGEABLE_PACKAGE_HASH)
> AssertionError: '131a35e9bbe4254beebe33714d2293481c96e693' != 
> '3a3109ba7b01639f08e5f6e7efd0e2fe4612812c'
> ======================================================================
> FAIL: test_zip_directory (TestResourceFilesKeeper.TestResourceFilesKeeper)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/dmitry/ssd/incubator-ambari/ambari-server/src/test/python/TestResourceFilesKeeper.py",
>  line 314, in test_zip_directory
>     self.assertEquals(hash_val, self.DUMMY_UNCHANGEABLE_PACKAGE_HASH)
> AssertionError: '131a35e9bbe4254beebe33714d2293481c96e693' != 
> '3a3109ba7b01639f08e5f6e7efd0e2fe4612812c'
> ----------------------------------------------------------------------
> Ran 234 tests in 6.319s
> FAILED (failures=2)
> ----------------------------------------------------------------------
> Failed tests:
> FAIL: test_count_hash_sum (TestResourceFilesKeeper.TestResourceFilesKeeper)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/dmitry/ssd/incubator-ambari/ambari-server/src/test/python/TestResourceFilesKeeper.py",
>  line 234, in test_count_hash_sum
>     self.assertEquals(hash_sum, self.DUMMY_UNCHANGEABLE_PACKAGE_HASH)
> AssertionError: '131a35e9bbe4254beebe33714d2293481c96e693' != 
> '3a3109ba7b01639f08e5f6e7efd0e2fe4612812c'
> FAIL: test_zip_directory (TestResourceFilesKeeper.TestResourceFilesKeeper)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/home/dmitry/ssd/incubator-ambari/ambari-server/src/test/python/TestResourceFilesKeeper.py",
>  line 314, in test_zip_directory
>     self.assertEquals(hash_val, self.DUMMY_UNCHANGEABLE_PACKAGE_HASH)
> AssertionError: '131a35e9bbe4254beebe33714d2293481c96e693' != 
> '3a3109ba7b01639f08e5f6e7efd0e2fe4612812c'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to