commit | 6a0cf6b8e32610c9c5fdebcaeee4023ce8e7ea70 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Fri Jun 04 14:45:52 2021 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Tue Jun 08 15:27:41 2021 +0800 |
tree | a74113a7018979828c55c8d591d3c3ea67d9999a | |
parent | 34cf9834e4f46325cb8b7da85283c6cd96d90d60 [diff] |
Fixing flakiness in libfs_avb_internal_test Using multiple unique_fd() and also modifying the file might cause some races. Closing the fd when it's not needed. Bug: 187303962 Test: atest --host libfs_avb_internal_test -- --test-arg \ com.android.tradefed.testtype.HostGTest:native-test-timeout:5m Change-Id: I789f33b49e7cbdb22396e1df9a2694dce9f8a6f7