commit | fa482ede6cce12f13b99522f704c491a1549b5d8 | [log] [tgz] |
---|---|---|
author | Pete Bentley <prb@google.com> | Tue Nov 26 15:06:05 2019 +0000 |
committer | Pete Bentley <prb@google.com> | Mon Apr 06 12:52:44 2020 +0100 |
tree | 22c1621943606dd8b489263bd2fb90beaf2e16fc | |
parent | 8f84717b417c1100a24882d162aa5e55c87a34f9 [diff] |
Tidy OldSocketTest.test_connectLjava_net_SocketAddressI_setSOTimeout. Improve thread safety and exception handling. I don't expect this will fix the test flakiness but it eliminates these as possibilities. Bug: 144258500 Test: atest --iterations 10 CtsLibcoreTestCases:libcore.java.net.OldSocketTest Change-Id: Idfa01771afa562482fcfd597abac325f95fe183a (cherry picked from commit 282ba2d764a259731816682dedf080edbe28db18)