Ian Downes created MESOS-678:
--------------------------------

             Summary: Isolator.Usage test isn't run on OSX
                 Key: MESOS-678
                 URL: https://issues.apache.org/jira/browse/MESOS-678
             Project: Mesos
          Issue Type: Bug
          Components: test
         Environment: OSX
            Reporter: Ian Downes
            Assignee: Ian Downes
            Priority: Minor


{noformat}
[1026][idownes:build]$ git log -n 1
commit 4954b75f6fbe2d23fb3e11489441036bd3676017
Author: Benjamin Mahler <bmah...@twitter.com>
Date:   Tue Sep 3 23:12:55 2013 -0700

    Exposing cpu.stat statistics in the monitoring endpoint.

    From: Christina Delimitrou <christina.delimit...@gmail.com>
    Review: https://reviews.apache.org/r/13868
{noformat}

On OSX it filters out the test:
{noformat}
[1026][idownes:build]$ ./bin/mesos-tests.sh --gtest_filter="IsolatorTest/*"
Source directory: /Users/idownes/projects/mesos
Build directory: /Users/idownes/projects/mesos/build
Note: Google Test filter = IsolatorTest/*-IsolatorTest/0.Usage:
[==========] Running 0 tests from 0 test cases.
[==========] 0 tests from 0 test cases ran. (0 ms total)
[  PASSED  ] 0 tests.
{noformat}

whereas on Linux it runs (both the ProcessIsolator and CgroupsIsolator):
{noformat}
Note: Google Test filter = IsolatorTest/*-
[==========] Running 2 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 1 test from IsolatorTest/0, where TypeParam = 
mesos::internal::slave::ProcessIsolatorProcess
[ RUN      ] IsolatorTest/0.Usage
.......
[       OK ] IsolatorTest/0.Usage (1055 ms)
[----------] 1 test from IsolatorTest/0 (1055 ms total)

[----------] 1 test from IsolatorTest/1, where TypeParam = 
mesos::internal::slave::CgroupsIsolatorProcess
[ RUN      ] IsolatorTest/1.Usage
.......
[       OK ] IsolatorTest/1.Usage (1180 ms)
[----------] 1 test from IsolatorTest/1 (1180 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 2 test cases ran. (2237 ms total)
[  PASSED  ] 2 tests.
{noformat}

--
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

Reply via email to