diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2018-07-11 18:17:06 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2018-07-19 17:12:38 +0900 |
commit | 605f12d6a54557b31f461e35257962f5b2aa0e81 (patch) | |
tree | f168c64fa71780b4304e746fdff4456009e32274 /rs/java/android/renderscript/ProgramFragment.java | |
parent | cbe9c295a3090aeaea29354b2b693c9d51cde617 (diff) |
Increase TEST_LINGER_DELAY_MS
The current timeout is short enough that lingered networks are torn down
before assertions can be run, causing flakyness in testMultipleLingering.
This CL sets the timeout to 300 in that particular test.
Verified that 300ms is enough with 500 successful runs on Sailfish.
An alternative would be to mock firing of the lingering timer, but
keeping the WakeupMessage logic realistic has already proven useful in
detecting races.
Bug: b/110673602
Test: runtest --no-hidden-api-checks frameworks-net
Change-Id: I6f9a656190bcff0b071ae2584d0f5fa74158472b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions