From: Arlin Davis Date: Mon, 27 Oct 2008 16:48:53 +0000 (-0800) Subject: dapltest: transaction test moves to cleanup stage before rdma_read processing is... X-Git-Tag: dapl-2.0.15-1~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5d5dec42717c963d1644ee3e716459dc5d58e930;p=~ardavis%2Fdapl.git dapltest: transaction test moves to cleanup stage before rdma_read processing is complete With multiple treads, the transaction server tread can move to cleanup stage and unregister memory before the remote client process has completed the rdma read. In lieu of a rewrite to add sync messages at the end of transaction test phase, just add a delay before cleanup. Signed-off-by: Arlin Davis --- diff --git a/test/dapltest/test/dapl_transaction_test.c b/test/dapltest/test/dapl_transaction_test.c index 1d5beff..82ee6f9 100644 --- a/test/dapltest/test/dapl_transaction_test.c +++ b/test/dapltest/test/dapl_transaction_test.c @@ -1108,6 +1108,9 @@ retry: */ success = DT_Transaction_Run (phead, test_ptr); + /* no sync at end of transaction run, wait before cleanup */ + sleep(1); + /* * Now clean up and go home */