Skip to content

Commit

Permalink
IODEMO: Enhance timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Apr 29, 2020
1 parent f372b50 commit 503c16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/apps/iodemo/ucx_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ bool UcxConnection::connect_common(ucp_ep_params_t& ep_params)
// send local connection id
void *sreq = ucp_stream_send_nb(_ep, &_conn_id, 1, dt_int,
stream_send_callback, 0);
wait_status = _context.wait_completion(sreq, 10);
wait_status = _context.wait_completion(sreq, 5);
if (wait_status != UcxContext::WAIT_STATUS_OK) {
UCX_CONN_LOG << "failed to send remote connection id";
ep_close(UCP_EP_CLOSE_MODE_FORCE);
Expand All @@ -607,7 +607,7 @@ bool UcxConnection::connect_common(ucp_ep_params_t& ep_params)
}

// wait to complete receiving remote connection id
wait_status = _context.wait_completion(rreq, 10);
wait_status = _context.wait_completion(rreq, 5);
if (wait_status != UcxContext::WAIT_STATUS_OK) {
UCX_CONN_LOG << "failed to receive remote connection id";
ep_close(UCP_EP_CLOSE_MODE_FORCE);
Expand Down

0 comments on commit 503c16e

Please sign in to comment.