Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.12.0
-
None
-
None
Description
[ 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\":
,\"source\":\"source\"}]"
Expected: strings::format( "[{" "\"executor_id\":\"executor\"," "\"executor_name\":\"name\"," "\"framework_id\":\"framework\"," "\"resource_usage\":
," "\"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\":
,\"source\":\"source\"}]"
[ FAILED ] MonitorTest.WatchUnwatch (1005 ms)