From 5d5dec42717c963d1644ee3e716459dc5d58e930 Mon Sep 17 00:00:00 2001 From: Arlin Davis Date: Mon, 27 Oct 2008 08:48:53 -0800 Subject: [PATCH] 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 --- test/dapltest/test/dapl_transaction_test.c | 3 +++ 1 file changed, 3 insertions(+) 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 */ -- 2.41.0