Fix socket timeout test failures.
The kernel uses awkward device-specific units that make tests with timeouts that aren't integer multiples of a second awkward. There's no common superclass for the various sockets, so we can't factor out the test even though -- apart from the creation of the specific socket -- it's textually identical in each case. Nice library design, boys! I've also fixed a couple of CloseGuard warnings in passing. Bug: 5159133 Change-Id: Iaf4c9891b3cf2f5b3ebcee5cb2ba862157ab034e
Showing
Please register or sign in to comment