commit | b127c5922aa7c78abd9eb427e2636b3ce1ae9ae1 | [log] [tgz] |
---|---|---|
author | Yan Zhu <yanzhuyan@google.com> | Sat Aug 03 15:22:20 2019 -0700 |
committer | Yan Zhu <yanzhuyan@google.com> | Thu Aug 08 14:59:00 2019 +0000 |
tree | cd575760fcdaacb80f523f5cb416eda370ed0759 | |
parent | 945f7a35ad7f504dd97bfabb8fc5ea204ca4c849 [diff] |
Fix flaky test in CarStorageMonitoringTest Init might not be completed before removeMessages(INIT) is called. This caused a race condition. Bug: 137883194 Test: verify on cuttlefish using acloud lunch cf_x86_auto-userdebug acloud create --branch git_master --build-target cf_x86_auto-userdebug atest com.android.car.CarStorageMonitoringTest#testNegativeShutdownCost Test should pass. Change-Id: I689be0b70c1e04c3c489d82b5712cf31ba2bc6f9
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.