Skip to content

Commit

Permalink
Merge pull request #2962 from evgeny-leksikov/test_ucp_stream_many2on…
Browse files Browse the repository at this point in the history
…e.drop_data

GTEST: fix test_ucp_stream_many2one.drop_data
  • Loading branch information
yosefe authored Oct 17, 2018
2 parents a90c731 + 4ac447a commit 2486412
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/gtest/ucp/test_ucp_stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,9 @@ UCS_TEST_P(test_ucp_stream_many2one, drop_data) {

/* data from disconnected EP should be dropped */
std::set<ucp_ep_h> others = check_no_data(m_entities.at(0));
EXPECT_EQ(m_nsenders - 1, others.size());
/* since ordering between EPs is not guaranteed, some data may be still in
* the network or buffered by transport */
EXPECT_LE(others.size(), m_nsenders - 1);

/* reconnect */
m_entities.at(0).connect(&m_entities.at(m_receiver_idx), get_ep_params(), 0);
Expand Down

0 comments on commit 2486412

Please sign in to comment.