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

Benjamin Hindman reopened MESOS-399:
------------------------------------


Just saw this again:

[ RUN      ] MonitorTest.WatchUnwatch
../../src/tests/monitor_tests.cpp:130: 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 (26 ms)
                
> MonitorTest.WatchUnwatch failed.
> --------------------------------
>
>                 Key: MESOS-399
>                 URL: https://issues.apache.org/jira/browse/MESOS-399
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Benjamin Hindman
>            Assignee: Benjamin Mahler
>
> [ 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

Reply via email to