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/12 00:35:29 UTC
[mesos] 05/09: 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 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 7f4fbbe73db5a40efc82ccd9648149140b02c95d
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
(cherry picked from commit 4b58f5c3b872241f4c46742d21a837e0de9bc104)
---
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 55a2581..15ac700 100644
--- a/src/tests/health_check_tests.cpp
+++ b/src/tests/health_check_tests.cpp
@@ -2054,6 +2054,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),
@@ -2095,6 +2097,8 @@ protected:
}
removeDockerIPv6UserNetwork();
+
+ MesosTest::TearDown();
}
};