diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-26 19:04:42 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-26 19:04:42 -0800 |
| commit | c2400bb2690fe0ee1184d5d7a66b6d2d1198b480 (patch) | |
| tree | ff0e8b67f3d8f7cb7eea2856e70e0a06e0bedffe /src/libstd/sys/unix/stack_overflow.rs | |
| parent | b47aebe3fc2da06c760fd8ea19f84cbc41d34831 (diff) | |
| download | rust-c2400bb2690fe0ee1184d5d7a66b6d2d1198b480.tar.gz rust-c2400bb2690fe0ee1184d5d7a66b6d2d1198b480.zip | |
std: Draw from the same port pool during tests
Instead of allocating the same ports for ipv4 and ipv6 tests, instead draw all ports from the same pool. Some tests connect to just "localhost" on a particular port which may accidentally be interacting with other tests as the ipv-what-ness isn't specified with the string "localhost" Relevant logs: * [Deadlock of the `net::tcp::tests::listen_localhost` test][mac] * [Failure of the `fast_rebind` test][win1] * [Failure of `multiple_connect_interleaved_lazy_schedule_ip4`][win2] [mac]: https://gist.github.com/alexcrichton/349c7ce7c620c1adb2f2 [win1]: https://gist.github.com/alexcrichton/7e3611faae2e1edaee6f [win2]: https://gist.github.com/alexcrichton/4f5f87749af3ad0f9851
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
