ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Review Request 41642: Fix hcat client test for 2.2.1 branch
Date Tue, 22 Dec 2015 13:30:53 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41642/
-----------------------------------------------------------

Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-14463
    https://issues.apache.org/jira/browse/AMBARI-14463


Repository: ambari


Description
-------

Failed tests:
FAIL: test_pre_upgrade_restart (test_hcat_client.TestHcatClient)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-common/src/test/python/mock/mock.py",
line 1199, in patched
return func(*args, **keywargs)
File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hcat_client.py",
line 125, in test_pre_upgrade_restart
self.assertResourceCalled('Execute',('ambari-python-wrap', '/usr/bin/hdp-select', 'set', 'hive-webhcat',
version), sudo=True,)
File "/home/vtkhir/projects/ACTUAL-AMBARI/incubator-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 253, in assertResourceCalled
self.assertEquals(name, resource.name)
AssertionError: ('ambari-python-wrap', '/usr/bin/hdp-select', 'set', 'hive-webhcat', '2.3.0.0-1234')
!= ('hdp-select', 'set', 'hive-webhcat', '2.3.0.0-1234')
----------------------------------------------------------------------
Total run:885
Total errors:0
Total failures:1
ERROR


Diffs
-----

  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hcat_client.py bd791c7 

Diff: https://reviews.apache.org/r/41642/diff/


Testing
-------

mvn clean test


Thanks,

Vitalyi Brodetskyi


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message