]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #16894 : alexcrichton/rust/issue-16872, r=huonw
authorbors <bors@rust-lang.org>
Sun, 31 Aug 2014 17:15:52 +0000 (17:15 +0000)
committerbors <bors@rust-lang.org>
Sun, 31 Aug 2014 17:15:52 +0000 (17:15 +0000)
It was previously asserted that each thread received at least one connection,
but this is not guaranteed to always be the case due to scheduling. This test
also deadlocked on failure due to a lingering reference to the sending half of
the channel, so that reference is now also eagerly dropped so the test can fail
properly if something bad happens.

Closes #16872


Trivial merge