summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Somogyi <psomogyi@gamax.hu>2007-03-29 18:46:02 +0200
committerPeter Somogyi <psomogyi@gamax.hu>2007-03-29 18:46:02 +0200
commita003ee95710288c438477c1f5120ec328eac24ba (patch)
tree4fda5191ab41de83b0a6b6e0fb1f34368b8a6d84
parent1714c1ed0ce6508d6cf86aa3bde641f2280d40b4 (diff)
downloadsamba-a003ee95710288c438477c1f5120ec328eac24ba.tar.gz
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)
-rw-r--r--ctdb/ib/ibwrapper_test.c2
1 files changed, 1 insertions, 1 deletions
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;