You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2017/06/30 08:50:46 UTC

[3/3] mesos git commit: Replaced `validateAndUpgradeResources` with `convertResourceFormat`.

Replaced `validateAndUpgradeResources` with `convertResourceFormat`.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8b3995da
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8b3995da
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8b3995da

Branch: refs/heads/master
Commit: 8b3995da1a419a722acbfccbefbd8ed92af15238
Parents: 0d3c7be
Author: Michael Park <mp...@apache.org>
Authored: Thu Jun 29 23:48:39 2017 -0700
Committer: Michael Park <mp...@apache.org>
Committed: Fri Jun 30 01:41:25 2017 -0700

----------------------------------------------------------------------
 src/tests/master_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/8b3995da/src/tests/master_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/master_tests.cpp b/src/tests/master_tests.cpp
index 6cd4be7..cfb799f 100644
--- a/src/tests/master_tests.cpp
+++ b/src/tests/master_tests.cpp
@@ -7137,7 +7137,7 @@ public:
       return resources;
     }
 
-    CHECK_NONE(validateAndUpgradeResources(&resources));
+    convertResourceFormat(&resources, POST_RESERVATION_REFINEMENT);
     return resources;
   }