[sheepdog] [PATCH] tests/functional: use kill_zk_session to _kill_sheep with zk

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Jul 23 11:06:24 CEST 2013


At Tue, 23 Jul 2013 16:01:08 +0800,
Liu Yuan wrote:
> 
> - fix kill_zk_session.c that if ZNONODE returns, we simply return success
> 
> In this way we don't blind sleep for _kill_sheep with zk driver. This fixes
> some false failure of tests with SSD drive and also boost tests a little bit
> 
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  tests/functional/common.rc |    4 ++--
>  tools/kill_zk_session.c    |   10 ++++++++--
>  2 files changed, 10 insertions(+), 4 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list