You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2015/06/05 23:44:34 UTC
mesos git commit: Fixed a typo bug when using pthread_mutex_unlock in
a test.
Repository: mesos
Updated Branches:
refs/heads/master 6f7dd06bb -> b55595b06
Fixed a typo bug when using pthread_mutex_unlock in a test.
- We should abstract out this filter installation code (MESOS-2822).
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b55595b0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b55595b0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b55595b0
Branch: refs/heads/master
Commit: b55595b06dfd20ab7ba68d1ad413214de5aa1a4a
Parents: 6f7dd06
Author: Jiang Yan Xu <ya...@jxu.me>
Authored: Fri Jun 5 14:36:54 2015 -0700
Committer: Jiang Yan Xu <ya...@jxu.me>
Committed: Fri Jun 5 14:36:54 2015 -0700
----------------------------------------------------------------------
src/tests/master_contender_detector_tests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/b55595b0/src/tests/master_contender_detector_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/master_contender_detector_tests.cpp b/src/tests/master_contender_detector_tests.cpp
index 3108b94..af6f15a 100644
--- a/src/tests/master_contender_detector_tests.cpp
+++ b/src/tests/master_contender_detector_tests.cpp
@@ -289,7 +289,7 @@ TEST_F(ZooKeeperMasterContenderDetectorTest, ContenderPendingElection)
EXPECT_CALL(filter->mock, filter(testing::A<const process::DispatchEvent&>()))
.With(DispatchMatcher(_, &GroupProcess::join))
.Times(0);
- pthread_mutex_lock(&filter->mutex);
+ pthread_mutex_unlock(&filter->mutex);
// Recontend and settle so that if ZooKeeperMasterContender is not
// directly returning, GroupProcess::join is dispatched.