You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by tn...@apache.org on 2016/01/15 22:27:10 UTC

mesos git commit: Fixed a GMock warning in RoleTest.ImplicitRoleStaticReservation.

Repository: mesos
Updated Branches:
  refs/heads/master 17ea110be -> 99f21afb3


Fixed a GMock warning in RoleTest.ImplicitRoleStaticReservation.

Review: https://reviews.apache.org/r/42264/


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

Branch: refs/heads/master
Commit: 99f21afb379c89ac467f5db943a5670d738cc8a1
Parents: 17ea110
Author: Neil Conway <ne...@gmail.com>
Authored: Thu Jan 14 17:38:16 2016 -0800
Committer: Timothy Chen <tn...@apache.org>
Committed: Fri Jan 15 13:15:51 2016 -0800

----------------------------------------------------------------------
 src/tests/role_tests.cpp | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/99f21afb/src/tests/role_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/role_tests.cpp b/src/tests/role_tests.cpp
index 6eb291a..e081abf 100644
--- a/src/tests/role_tests.cpp
+++ b/src/tests/role_tests.cpp
@@ -38,6 +38,8 @@ using process::PID;
 using process::http::OK;
 using process::http::Response;
 
+using testing::AtMost;
+
 namespace mesos {
 namespace internal {
 namespace tests {
@@ -243,6 +245,9 @@ TEST_F(RoleTest, ImplicitRoleStaticReservation)
 
   AWAIT_READY(launchTask);
 
+  EXPECT_CALL(exec, shutdown(_))
+    .Times(AtMost(1));
+
   driver.stop();
   driver.join();