diff options
author | Tobias Thierer <tobiast@google.com> | 2017-01-30 17:33:45 +0000 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-01-30 17:33:46 +0000 |
commit | d53d19e780af8009b0b904da87d6ff48196288e8 (patch) | |
tree | 6dcc44c8532237535cf30d5fca206b4a48b16985 /annotations/generate_annotated_java_files.py | |
parent | 5ca6fa9d40b3dc707a50de770c73cacc089b13b6 (diff) |
Fix flaky libcore.java.net.FtpURLConnectionTest#testCountingProxy
The test was closing the socket, potentially aborting the pending
connection, potentially before the server thread got around to
counting it. Calling proxy.shutdownAndGetConnectionCount() before
closing the client socket ensures that the (single) request is
counted.
Test: Ran FtpURLConnectionTest ten times
Change-Id: Id1c2d9be9571a5c1baece5a1cf16bfc215eee9c9
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions