diff options
author | Chris Wren <cwren@android.com> | 2017-02-08 17:21:53 -0500 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2017-02-09 09:51:50 -0500 |
commit | 6f6c0cd4b8f59a6d6bb67196177ee964f6704da3 (patch) | |
tree | a42e549ebc0412298775380b2bf6b056387faaa2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 570661486882ab2690b62176e83c23a4b2d6a796 (diff) |
avoid race condition on very fast tests
most of the use cases for this involve uiautomator tests,
which are slow anyway. In this case it may be possible for
the checkpoint to record the current time, and then the
test event arrive before the clock ticks over to the
next millisecond, which would cause them to be ignored.
If this fixes the flakiness we should consider a more gneeral fix.
Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java
Bug: 35138327
Change-Id: Idc4aec50df1a75be710c5a69522af058f7e68ec1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions