about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-08-30 23:43:20 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-08-30 23:43:20 -0700
commit4ddbb0d4b1edb6f8f1fedf34e4bdc96710402800 (patch)
tree19a45685371362d369ef9b399aef5a7bb07c12a2 /src/libsyntax/parse
parentc2564540de933c2dfe48cc72f947b29853ab2803 (diff)
downloadrust-4ddbb0d4b1edb6f8f1fedf34e4bdc96710402800.tar.gz
rust-4ddbb0d4b1edb6f8f1fedf34e4bdc96710402800.zip
test: Fix the tcp-accept-stress test
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
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions