You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2018/11/01 17:14:13 UTC
[mesos] 01/02: Fixed a test flake in
`HealthCheckTest.HealthyTaskNonShell`.
This is an automated email from the ASF dual-hosted git repository.
chhsiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 7c0bc51d7d2c26a804619017951af9863f3fd05f
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
AuthorDate: Wed Oct 31 20:13:28 2018 -0700
Fixed a test flake in `HealthCheckTest.HealthyTaskNonShell`.
Review: https://reviews.apache.org/r/69224
---
src/tests/health_check_tests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tests/health_check_tests.cpp b/src/tests/health_check_tests.cpp
index da64dc2..2fcf9d4 100644
--- a/src/tests/health_check_tests.cpp
+++ b/src/tests/health_check_tests.cpp
@@ -670,7 +670,7 @@ TEST_F(HealthCheckTest, HealthyTaskNonShell)
driver.launchTasks(offers.get()[0].id(), tasks);
AWAIT_READY(statusStarting);
- EXPECT_EQ(TASK_RUNNING, statusRunning->state());
+ EXPECT_EQ(TASK_STARTING, statusStarting->state());
AWAIT_READY(statusRunning);
EXPECT_EQ(TASK_RUNNING, statusRunning->state());