commit | a628880b6542a1d3a2b3d3c8a402716667db7eca | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Tue Sep 06 10:02:38 2022 -0700 |
committer | Kalesh Singh <kaleshsingh@google.com> | Thu Jan 26 16:14:41 2023 +0000 |
tree | 67ca3c43c812896b427ae816dd0c57c26d2812f5 | |
parent | 6e976b27ecd7fe3f969df0bf1190d605959183b2 [diff] |
suspend: De-flake suspend tests The events that happen on the sock stream can race with the isBlocked() checks because the autosuspend loop is a separate thread from the test thread. Add some buffer time to avoid flakiness in these tests. Test: Treehugger Bug: 255898234 Bug: 265513788 Bug: 266077359 Change-Id: Ie03b343e46dc4035c09cb0a5399b4a5da569f7d4 Merged-In: Ie03b343e46dc4035c09cb0a5399b4a5da569f7d4