Ian Downes created MESOS-1042:
---------------------------------

             Summary: Fix bad CGROUPS_ROOT_Write test
                 Key: MESOS-1042
                 URL: https://issues.apache.org/jira/browse/MESOS-1042
             Project: Mesos
          Issue Type: Bug
          Components: test
    Affects Versions: 0.18.0
            Reporter: Ian Downes
            Assignee: Ian Downes
            Priority: Minor
             Fix For: 0.19.0


[~bmahler] observed one of the cgroups tests was asserting but not failing

{noformat}
[ RUN      ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Write
../../src/tests/cgroups_tests.cpp:404: Failure
cgroups::create(hierarchy, TEST_CGROUPS_ROOT): Failed to create directory 
'/sys/fs/cgroup/cpu/mesos_test': File exists
[       OK ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Write (16 ms)
{noformat}

This is because the assertion was incorrectly run in both the test and a forked 
child and it was failing only in the child.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to