Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions test/gtest/ucp/test_ucp_device.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,8 @@ void test_ucp_device::init()
receiver().connect(&sender(), get_ep_params());
}

ucp_device_mem_list_handle_h handle;
while (ucp_device_mem_list_create(sender().ep(), NULL, &handle) ==
UCS_ERR_NOT_CONNECTED) {
progress();
}
/* Flush to ensure endpoint wireup is complete before device API usage */
flush_ep(sender());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think flush can return ok even when connection has not happened, so if we use flush, we should probably send first a dummy request.

}

test_ucp_device::mem_list::mem_list(entity &sender, entity &receiver,
Expand Down
Loading