You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by nn...@apache.org on 2014/06/05 17:59:05 UTC

git commit: Fixed style glitch in slave tests.

Repository: mesos
Updated Branches:
  refs/heads/master adc9b3049 -> 9a19ea7f3


Fixed style glitch in slave tests.

Fixed a style error.

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


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

Branch: refs/heads/master
Commit: 9a19ea7f3a89772d6f72320ccce4c7f71724d179
Parents: adc9b30
Author: Yifan Gu <yi...@mesosphere.io>
Authored: Thu Jun 5 08:27:10 2014 -0700
Committer: Niklas Q. Nielsen <ni...@mesosphere.io>
Committed: Thu Jun 5 08:27:10 2014 -0700

----------------------------------------------------------------------
 src/tests/slave_tests.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/9a19ea7f/src/tests/slave_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/slave_tests.cpp b/src/tests/slave_tests.cpp
index 479c0c1..2c8f183 100644
--- a/src/tests/slave_tests.cpp
+++ b/src/tests/slave_tests.cpp
@@ -730,7 +730,7 @@ TEST_F(SlaveTest, TerminatingSlaveDoesNotReregister)
   // than REGISTER_RETRY_INTERVAL, so that the slave will at least
   // call doReliableRegistration() once before the slave is actually
   // terminated.
-  flags.executor_shutdown_grace_period = slave::REGISTER_RETRY_INTERVAL_MAX*2;
+  flags.executor_shutdown_grace_period = slave::REGISTER_RETRY_INTERVAL_MAX * 2;
 
   // Start a slave.
   Try<PID<Slave> > slave = StartSlave(&exec, &detector, flags);
@@ -776,7 +776,8 @@ TEST_F(SlaveTest, TerminatingSlaveDoesNotReregister)
 
   // Setup an expectation that the master should not receive any
   // ReregisterSlaveMessage in the future.
-  EXPECT_NO_FUTURE_PROTOBUFS(ReregisterSlaveMessage(), slave.get(), master.get());
+  EXPECT_NO_FUTURE_PROTOBUFS(
+      ReregisterSlaveMessage(), slave.get(), master.get());
 
   // Drop the ShutdownExecutorMessage, so that the slave will
   // stay in TERMINATING for a while.