summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2017-02-17 17:54:31 +0000
committerTobias Thierer <tobiast@google.com>2017-02-20 12:33:46 +0000
commit5381c95c802b9ddbfd9b795ca5823c332898c73d (patch)
tree68c4860a4cc34d1e6233c5058ad666030286ce15 /annotations/generate_annotated_java_files.py
parentb2af2e6d63267a4ab475fd288e6a93e3a183b59b (diff)
Attempt to de-flaky ServerSocketConcurrentCloseTest
The test runs 100 iterations, each asserting that connections between a server and client thread are made within 50msec. Rarely, this assertion fails in one of those iterations. Before this CL, the test was counting the time for the server and client Threads to start up towards those 50msec, which is unreasonable since no connections can be made while the threads are still starting. This CL modifies the test to allow the threads 1 second to start, which is not counted towards the 50msec. Test: Ran 10,000 iterations (the equivalent of running ServerSocketConcurrentCloseTest 100 times in a row) Bug: 35463422 Change-Id: I04ff834661ecc96b5328d82926ef766bb30e5433
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions