summaryrefslogtreecommitdiffstats
path: root/support/src/test/java/tests/net
Commit message (Collapse)AuthorAgeFilesLines
* Fix OldSocketTest#test_connectLjava_net_SocketAddressI.Elliott Hughes2014-11-111-6/+15
| | | | | | | Use the same address as StuckServer. Bug: 18143878 Change-Id: I3759776ed3a9d46175c4b987fa0c47b27033441d
* Fix ConcurrentCloseTest flakiness.Elliott Hughes2012-10-161-25/+35
| | | | | | | | | We can't rely on consuming all the listen(2) backlog. For the tests we've seen fail because they sometimes connect rather than time out, switch to an unroutable address. Bug: 6971145 Change-Id: I259d31b1a15123bcd78c36849d5ed863d392ac20
* Clean up the select(2) implementation.Elliott Hughes2011-05-111-0/+18
| | | | | | | | | | | | | | I wasn't planning on touching this code (since I want to replace it), but the purported "fix" for http://code.google.com/p/android/issues/detail?id=6309 was actually a regression. The supplied test fails on the RI. This patch replaces the bogus test with new tests, and reverts the old "fix". This was found while trying to work out what "true" and "false" return values from OSNetworkSystem.select are supposed to mean. This patch also switches to a more traditional int return value. Bug: 3107501 Change-Id: Iddce55e081d440b7eb3ddcf94db7d0739dc89c70
* Improve ConcurrentCloseTest.Elliott Hughes2010-11-161-0/+57
No more flaky use of 10.* addresses. Bug: 3044772 Change-Id: I5ca8dc431b50950efdc818efe73eb9aba76ea67f