You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Greg Mann <gr...@mesosphere.io> on 2015/11/25 02:03:35 UTC

Review Request 40679: Added filtering of CFS cgroup tests.

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

Review request for mesos, Bernd Mathiske, Marco Massenzio, and Till Toenshoff.


Bugs: MESOS-3964 and MESOS-3978
    https://issues.apache.org/jira/browse/MESOS-3964
    https://issues.apache.org/jira/browse/MESOS-3978


Repository: mesos


Description
-------

Added filtering of CFS cgroup tests.


Diffs
-----

  src/tests/environment.cpp ea70a5f5e752f4855b7b0e19ee3c1a60015a76ea 

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


Testing
-------

CFS support is disabled by default and must be enabled via a command-line flag. Thus, the test suite should not assume that this feature is present.

To test, run `sudo make check` on Debian 8 or another linux distribution without CFS cgroup support.

Mesos should crash during LimitedCpuIsolatorTest.ROOT_CGROUPS_Cfs or LimitedCpuIsolatorTest.ROOT_CGROUPS_Cfs_Big_Quota without this patch, and those tests should be filtered out after this patch. I ran `sudo make check` on Ubuntu 14.04 and the CFS tests ran like normal, and passed.


Thanks,

Greg Mann