Benjamin Mahler created MESOS-2534:
--------------------------------------

             Summary: PerfTest.ROOT_SampleInit test fails.
                 Key: MESOS-2534
                 URL: https://issues.apache.org/jira/browse/MESOS-2534
             Project: Mesos
          Issue Type: Bug
          Components: test
    Affects Versions: 0.22.0
            Reporter: Benjamin Mahler
            Assignee: Ian Downes


>From MESOS-2300 as well, it looks like this test is not reliable:

{code}
[ RUN      ] PerfTest.ROOT_SampleInit
../../src/tests/perf_tests.cpp:147: Failure
Expected: (0u) < (statistics.get().cycles()), actual: 0 vs 0
../../src/tests/perf_tests.cpp:150: Failure
Expected: (0.0) < (statistics.get().task_clock()),
{code}

It looks like this test samples PID 1, which is either {{init}} or {{systemd}}. 
Per a chat with [~idownes] this should probably sample something that is 
guaranteed to be consuming cycles.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to