summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2016-06-07 16:10:57 +0100
committerNeil Fuller <nfuller@google.com>2016-06-09 10:03:21 +0100
commit8514d7eef21fa8a0eec29e74c025bff35a57c7e3 (patch)
tree881d9701cc411e39c19e38d0b2bae345e4607597 /include/ScopedJavaUnicodeString.h
parent38477dc35488c8c210e0c84f56d72d79259cdb9a (diff)
Increase the wait time for assertDurationIsInRange(0)
Addressing flakiness in test_parkFor_3 / test_parkUntil_3. The wait time permitted was Math.max(expectedMillis * 10, 30) where expectedMillis = 0. That meant that the test code had just 30ms between calling Thread.start() and the Parker code being executed reaching the notifyAll(). Other tests use an expectedMillis of 500 and 300, giving more time for the Thread to start and complete their wait(). e.g. 4500ms and 2700ms above the expected park time, respectively. Bug: 29177727 (cherry picked from commit fe71cd583ca8f5709b25190acc48b28180e192b7) Change-Id: I82bbd8a6d252ee89a147b671799e4a64e2f7feac
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions