----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69306/#review210445 -----------------------------------------------------------
Fix it, then Ship it! support/mesos-gtest-runner.py Line 216 (original), 214-223 (patched) <https://reviews.apache.org/r/69306/#comment295113> ``` nproc_limit = resource.getrlimit(resource.RLIMIT_NPROC) if nproc_limit != resource.RLIM_INFINITY and nproc_limit < requirement: ``` - Chun-Hung Hsiao On Nov. 9, 2018, 9:53 p.m., Benjamin Bannier wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/69306/ > ----------------------------------------------------------- > > (Updated Nov. 9, 2018, 9:53 p.m.) > > > Review request for mesos, Benjamin Mahler and Ilya Pronin. > > > Bugs: MESOS-9382 > https://issues.apache.org/jira/browse/MESOS-9382 > > > Repository: mesos > > > Description > ------- > > This patch adds special handling for the case where no process rlimit > is in effect. For that we explicitly handle an output `unlimited` > which can be present in e.g., `C` locales. > > > Diffs > ----- > > support/mesos-gtest-runner.py 135c4887edc5bc6137575261355d763c80531145 > > > Diff: https://reviews.apache.org/r/69306/diff/2/ > > > Testing > ------- > > Manually verified handling of cases where `ulimit` would report `unlimited`. > > > Thanks, > > Benjamin Bannier > >
