Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2D70E130 for ; Wed, 29 May 2013 00:30:20 +0000 (UTC) Received: (qmail 31549 invoked by uid 500); 29 May 2013 00:30:20 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 31524 invoked by uid 500); 29 May 2013 00:30:20 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 31515 invoked by uid 99); 29 May 2013 00:30:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 May 2013 00:30:20 +0000 Date: Wed, 29 May 2013 00:30:20 +0000 (UTC) From: "Benjamin Hindman (JIRA)" To: mesos-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MESOS-399) MonitorTest.WatchUnwatch failed. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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