Benjamin Mahler created MESOS-414:
-------------------------------------
Summary: CgroupsNoHierarchyTest should be disable when a hierarchy
is mounted.
Key: MESOS-414
URL: https://issues.apache.org/jira/browse/MESOS-414
Project: Mesos
Issue Type: Bug
Reporter: Benjamin Mahler
Assignee: Benjamin Hindman
See below, we currently fail the test when there's a hierarchy mounted. Rather,
we should keep the message, but disable the test.
The logic for determining whether we can run the test already exists, this is
how we determine whether to print the message below.
[----------] 1 test from CgroupsNoHierarchyTest
-------------------------------------------------------------
We cannot run any cgroups tests that require mounting
hierarchies because you have the following hierarchies mounted:
/cgroup
You can either unmount those hierarchies, or disable
this test case (i.e., --gtest_filter=-CgroupsNoHierarchyTest.*).
-------------------------------------------------------------
[ RUN ] CgroupsNoHierarchyTest.ROOT_CGROUPS_MountUnmountHierarchy
../../src/tests/cgroups_tests.cpp:250: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, "cpu,memory"): 'cpu' is already attached
to another hierarchy
[ FAILED ] CgroupsNoHierarchyTest.ROOT_CGROUPS_MountUnmountHierarchy (1 ms)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira