Skip to content

Commit

Permalink
TEST/IB: Re-enable ODP tests, and flush sender iface to fix err syndrome
Browse files Browse the repository at this point in the history
The test used to fail because we didn't wait for all sends to complete
before releasing the buffers.
  • Loading branch information
yosefe committed Oct 25, 2018
1 parent fee17d5 commit f64dcc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/gtest/uct/ib/test_ib_xfer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ class uct_p2p_rma_test_alloc_methods : public uct_p2p_rma_test {
UCS_TEST_P(uct_p2p_rma_test_alloc_methods, xfer_reg_odp,
"REG_METHODS=odp,direct")
{
#if defined(__powerpc64__) || defined(__aarch64__)
UCS_TEST_SKIP_R("odp on ppc64/aarch64");
#endif
test_put_zcopy();
test_get_zcopy();
}
Expand All @@ -77,9 +74,6 @@ class uct_p2p_mix_test_alloc_methods : public uct_p2p_mix_test {};
UCS_TEST_P(uct_p2p_mix_test_alloc_methods, mix1000_odp,
"REG_METHODS=odp,direct")
{
#if defined(__powerpc64__) || defined(__aarch64__)
UCS_TEST_SKIP_R("odp on ppc64");
#endif
run(1000);
}

Expand Down
2 changes: 2 additions & 0 deletions test/gtest/uct/test_p2p_mix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ void uct_p2p_mix_test::run(unsigned count) {
for (unsigned i = 0; i < count; ++i) {
random_op(sendbuf, recvbuf);
}

sender().flush();
}

void uct_p2p_mix_test::init() {
Expand Down
1 change: 1 addition & 0 deletions test/gtest/uct/uct_p2p_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ void uct_p2p_test::test_xfer_multi(send_func_t send, size_t min_length,
(uct_memory_type_t) mem_type);
}
}

void uct_p2p_test::test_xfer_multi_mem_type(send_func_t send, size_t min_length,
size_t max_length, unsigned flags,
uct_memory_type_t mem_type) {
Expand Down

0 comments on commit f64dcc9

Please sign in to comment.