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

(Updated Sept. 8, 2016, 11:37 a.m.)


Review request for Ambari, Jonathan Hurley and Sumit Mohanty.


Changes
-------

New value of hard limit is now computed based on the system, instead of a 
hard-code random value. This ensures that the new value is always >= soft limit 
and the assertion always runs.


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


Repository: ambari


Description
-------

AMBARI-18342: Unit Tests failure: test_update_open_files_ulimit 
(TestMain.TestMain)


Diffs (updated)
-----

  ambari-agent/src/test/python/ambari_agent/TestMain.py 
aa62f299fbe06c95b8566ad60378c302d30c7ac0 

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


Testing
-------

In test_update_open_files_ulimit, modified the new value to 240 (which is less 
than the soft limit on the dev box) and verified that the test passed.


Thanks,

Nahappan Somasundaram

Reply via email to