From: Peter Somogyi Date: Thu, 29 Mar 2007 16:46:02 +0000 (+0200) Subject: ib: test scenario was wrong X-Git-Tag: tevent-0.9.20~348^2~2842^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a003ee95710288c438477c1f5120ec328eac24ba;p=thirdparty%2Fsamba.git ib: test scenario was wrong it sent message in both (or all) direction at the same time. Now it measures normal pingpong. (This used to be ctdb commit 26646aa91eb4e31efe6bacd92806ef7477b03bb7) --- diff --git a/ctdb/ib/ibwrapper_test.c b/ctdb/ib/ibwrapper_test.c index 2ab4c97158b..7f91075f3d9 100644 --- a/ctdb/ib/ibwrapper_test.c +++ b/ctdb/ib/ibwrapper_test.c @@ -336,7 +336,7 @@ int ibwtest_receive_handler(struct ibw_conn *conn, void *buf, int n) ibw_stop(tcx->ibwctx); goto error; } - } else { + } else if (op!=TESTOP_SEND_ID) { char *buf2; void *key2;