diff options
author | Tobias Thierer <tobiast@google.com> | 2017-07-05 11:23:01 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-07-05 11:46:56 +0100 |
commit | 7177fa7f9d1f256019fabb85c56d192237d2fe34 (patch) | |
tree | 7e00fe6f3e9bcdeb4d52086cc9a3356f974a3aeb /include/ScopedJavaUnicodeString.h | |
parent | 7a858f2afa41a420520e63db612e8efc19c2b87d (diff) |
Fix early termination in ServerSocketConcurrentCloseTest
Commit 7956ee1980b5da2ede5d0555cabe5755fcaef813 added a fallback
to give the server/client threads an extra couple of 50msec blocks
per iteration.
It was intended that those extra blocks would only be given when
the threads didn't manage to make any connections in the first
50msec; but the value was read before it was written (after the
socket is closed) so the extra 50msec blocks were always given,
by accident. This exhausted sockets on some systems.
This CL fix this by incrementing the connection counter during
the test run.
Bug: 63311387
Test: ServerSocketConcurrentCloseTest
Change-Id: I706d5db09998a7fae0ceadd3dce8aedbaa6a48f4
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions