This is an automated email from the ASF dual-hosted git repository.

mzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 95a44e3  Removed unnecessary `stringify` in the master quota tests.
95a44e3 is described below

commit 95a44e31565624f44d8fc3e1be6c84b747a59c19
Author: Meng Zhu <[email protected]>
AuthorDate: Thu Jul 18 17:28:42 2019 -0700

    Removed unnecessary `stringify` in the master quota tests.
---
 src/tests/master_quota_tests.cpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/tests/master_quota_tests.cpp b/src/tests/master_quota_tests.cpp
index 64a9b31..8105765 100644
--- a/src/tests/master_quota_tests.cpp
+++ b/src/tests/master_quota_tests.cpp
@@ -214,10 +214,7 @@ TEST_F(MasterQuotaTest, UpdateQuota)
       "/api/v1",
       headers,
       createUpdateQuotaRequestBody(
-          createQuotaConfig(
-              ROLE1,
-              stringify("cpus:1;mem:1024"),
-              stringify("cpus:2;mem:2048")),
+          createQuotaConfig(ROLE1, "cpus:1;mem:1024", "cpus:2;mem:2048"),
           true));
 
   AWAIT_EXPECT_RESPONSE_STATUS_EQ(OK().status, response);

Reply via email to