Skip to content

Commit

Permalink
GTEST: Fix send2_nb_recv_medium_wildcard test
Browse files Browse the repository at this point in the history
Send request maybe completed later than the corresponding recv
request (RNDV or UD TL)

(cherry picked from commit 10e7aa3)
  • Loading branch information
brminich authored and alinask committed Aug 22, 2017
1 parent 5e527d4 commit 34a5abb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/gtest/ucp/test_ucp_tag_match.cc
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,12 @@ UCS_TEST_P(test_ucp_tag_match, send2_nb_recv_medium_wildcard, "RNDV_THRESH=-1")

/* Release sends */
if (sreq1 != NULL) {
wait(sreq1);
EXPECT_TRUE(sreq1->completed);
request_release(sreq1);
}
if (sreq2 != NULL) {
wait(sreq2);
EXPECT_TRUE(sreq2->completed);
request_release(sreq2);
}
Expand Down

0 comments on commit 34a5abb

Please sign in to comment.