diff options
author | Elliott Hughes <enh@google.com> | 2012-09-25 15:29:36 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-09-25 15:36:03 -0700 |
commit | 3d43199950729e592ac3e104442b4b350a86aec8 (patch) | |
tree | 6c2ce26e1549c40d6d775ca0866b4dd452b1c7b1 /annotations/generate_annotated_java_files.py | |
parent | 6d41a7cc3cb4cc684c8bece69ddc55954812ad6e (diff) |
Fix ConcurrentCloseTest flakiness.
We were running the risk that the server's end of a client socket would get
closed by the finalizer thread, resulting in read(2) returning 0 to the client,
and the test failing like this:
junit.framework.AssertionFailedError: read returned -1
at libcore.java.net.ConcurrentCloseTest.test_read(ConcurrentCloseTest.java:121)
at java.lang.reflect.Method.invokeNative(Native Method)
(cherry-pick of 4bbcd7e5aee1e984a4fcf46385667f9ad03dbc16.)
Bug: 7206024
Change-Id: I0dae214a7ee609655f4f4781abf4457863bcfd5f
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions