[sheepdog] [PATCH] tests: suppress false errors for zookeeper

Liu Yuan namei.unix at gmail.com
Tue Jan 15 08:58:41 CET 2013


From: Liu Yuan <tailai.ly at taobao.com>

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 tests/valgrind.supp |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/tests/valgrind.supp b/tests/valgrind.supp
index dc1e68a..0a0b733 100644
--- a/tests/valgrind.supp
+++ b/tests/valgrind.supp
@@ -27,3 +27,26 @@
 	fun:corosync_cfg_initialize
 	fun:corosync_init
 }
+{
+	zookeeper
+	Memcheck:Param
+	socketcall.sendto(msg)
+	fun:send
+	obj:*libzookeeper_mt.so*
+	fun:zookeeper_process
+}
+{
+	zookeeper
+	Memcheck:Cond
+	...
+	fun:zk_tree_search_nolock
+	fun:zk_watcher
+}
+{
+	zookeeper
+	Memcheck:Cond
+	fun:zk_handle_join_request
+	fun:zk_event_handler
+	fun:event_loop
+	fun:main
+}
-- 
1.7.9.5




More information about the sheepdog mailing list