mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Hindman (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MESOS-399) MonitorTest.WatchUnwatch failed.
Date Wed, 29 May 2013 00:30:20 GMT

     [ https://issues.apache.org/jira/browse/MESOS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Hindman resolved MESOS-399.
------------------------------------

    Resolution: Fixed
    
> MonitorTest.WatchUnwatch failed.
> --------------------------------
>
>                 Key: MESOS-399
>                 URL: https://issues.apache.org/jira/browse/MESOS-399
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Benjamin Hindman
>            Assignee: Benjamin Hindman
>             Fix For: 0.13.0
>
>
> [ RUN      ] MonitorTest.WatchUnwatch
> ../../src/tests/monitor_tests.cpp:126: Failure
> Value of: (response).get().body
>   Actual: "[{\"executor_id\":\"executor\",\"executor_name\":\"name\",\"framework_id\":\"framework\",\"resource_usage\":{\"cpu_time\":0,\"cpu_usage\":0,\"memory_rss\":0},\"source\":\"source\"}]"
> Expected: strings::format( "[{" "\"executor_id\":\"executor\"," "\"executor_name\":\"name\","
"\"framework_id\":\"framework\"," "\"resource_usage\":{" "\"cpu_time\":%g," "\"cpu_usage\":%g,"
"\"memory_rss\":%lu" "}," "\"source\":\"source\"" "}]", statistics.cpu_user_time() + statistics.cpu_system_time(),
statistics.cpu_usage(), statistics.memory_rss()).get()
> Which is: "[{\"executor_id\":\"executor\",\"executor_name\":\"name\",\"framework_id\":\"framework\",\"resource_usage\":{\"cpu_time\":6,\"cpu_usage\":0,\"memory_rss\":1024},\"source\":\"source\"}]"
> [  FAILED  ] MonitorTest.WatchUnwatch (1005 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

Mime
View raw message