This is an automated email from the ASF dual-hosted git repository.
mzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 9d80807 Fixed a complication issue due to incorrect enum comparison.
9d80807 is described below
commit 9d808072e9147b9b2971f03833d8c98f6b0a4cf4
Author: Meng Zhu <[email protected]>
AuthorDate: Mon May 27 14:33:32 2019 +0200
Fixed a complication issue due to incorrect enum comparison.
Review: https://reviews.apache.org/r/70726
---
src/tests/api_tests.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/tests/api_tests.cpp b/src/tests/api_tests.cpp
index 204c327..2220cec 100644
--- a/src/tests/api_tests.cpp
+++ b/src/tests/api_tests.cpp
@@ -6888,7 +6888,8 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(
// The latest state of this terminated task will not be terminal,
// because the executor was not given the chance to send the update.
- EXPECT_EQ(TASK_RUNNING, getState.get_tasks().terminated_tasks(0).state());
+ EXPECT_EQ(
+ v1::TASK_RUNNING, getState.get_tasks().terminated_tasks(0).state());
}
}