You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2019/01/24 00:12:45 UTC

[mesos] 02/02: Fixed some typo in agent reboot tests.

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

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

commit 4c2a848c0fb1c55f1a4b9a3d26a37bdc9c60ff36
Author: Gilbert Song <so...@gmail.com>
AuthorDate: Tue Jan 22 17:13:40 2019 -0800

    Fixed some typo in agent reboot tests.
    
    Review: https://reviews.apache.org/r/69810
---
 src/tests/slave_recovery_tests.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/tests/slave_recovery_tests.cpp b/src/tests/slave_recovery_tests.cpp
index 11666f1..41d644d 100644
--- a/src/tests/slave_recovery_tests.cpp
+++ b/src/tests/slave_recovery_tests.cpp
@@ -2748,7 +2748,7 @@ TYPED_TEST(SlaveRecoveryTest, Reboot)
   // Modify the boot ID to simulate a reboot.
   ASSERT_SOME(os::write(
       paths::getBootIdPath(paths::getMetaRootDir(flags.work_dir)),
-      "rebooted! ;)"));
+      "rebooted!"));
 
   Future<ReregisterSlaveMessage> reregisterSlaveMessage =
     FUTURE_PROTOBUF(ReregisterSlaveMessage(), _, _);
@@ -2934,7 +2934,7 @@ TYPED_TEST(SlaveRecoveryTest, RebootWithExecutorPidReused)
   // Modify the boot ID to simulate a reboot.
   ASSERT_SOME(os::write(
       paths::getBootIdPath(paths::getMetaRootDir(flags.work_dir)),
-      "rebooted! ;)"));
+      "rebooted!"));
 
   // Modify the executor's pid to simulate the pid is reused after reboot.
   ASSERT_SOME(os::write(pidPath, stringify(::getpid())));
@@ -3014,7 +3014,7 @@ TYPED_TEST(SlaveRecoveryTest, RebootWithSlaveInfoMismatch)
   // Modify the boot ID to simulate a reboot.
   ASSERT_SOME(os::write(
       paths::getBootIdPath(paths::getMetaRootDir(flags.work_dir)),
-      "rebooted! ;)"));
+      "rebooted!"));
 
   Future<RegisterSlaveMessage> registerSlaveMessage =
     FUTURE_PROTOBUF(RegisterSlaveMessage(), _, _);
@@ -3110,7 +3110,7 @@ TYPED_TEST(SlaveRecoveryTest, RebootWithSlaveInfoMismatchAndRestart)
   // Modify the boot ID to simulate a reboot.
   ASSERT_SOME(os::write(
       paths::getBootIdPath(paths::getMetaRootDir(flags.work_dir)),
-      "rebooted! ;)"));
+      "rebooted!"));
 
   // Change agent's resources to cause agent info mismatch.
   flags.resources = "cpus:4;mem:2048;disk:2048";