Skip to content

Commit

Permalink
GTEST: fix test_ucp_stream_many2one.drop_data
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-leksikov committed Oct 16, 2018
1 parent 366259b commit 4ac447a
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 4ac447a

Please sign in to comment.