You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2019/01/11 19:14:49 UTC

[mesos] 05/07: Fixed a bug in health_check_tests.cpp.

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

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

commit 4b58f5c3b872241f4c46742d21a837e0de9bc104
Author: Jie Yu <yu...@gmail.com>
AuthorDate: Thu Jan 10 21:31:34 2019 -0800

    Fixed a bug in health_check_tests.cpp.
    
    We forgot to call MesosTest::SetUp() and MesosTest::TearDown() in the
    override methods.
    
    Review: https://reviews.apache.org/r/69713
---
 src/tests/health_check_tests.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/tests/health_check_tests.cpp b/src/tests/health_check_tests.cpp
index 3e9b2da..40ba33e 100644
--- a/src/tests/health_check_tests.cpp
+++ b/src/tests/health_check_tests.cpp
@@ -2106,6 +2106,8 @@ class DockerContainerizerHealthCheckTest
 protected:
   void SetUp() override
   {
+    MesosTest::SetUp();
+
     Future<std::tuple<Nothing, Nothing, Nothing>> pulls = process::collect(
         pullDockerImage(DOCKER_TEST_IMAGE),
         pullDockerImage(DOCKER_HTTP_IMAGE),
@@ -2147,6 +2149,8 @@ protected:
     }
 
     removeDockerIPv6UserNetwork();
+
+    MesosTest::TearDown();
   }
 };