diff options
| author | Alessio Balsini <balsini@google.com> | 2020-01-29 14:02:25 +0000 |
|---|---|---|
| committer | Alessio Balsini <balsini@google.com> | 2020-01-29 18:24:50 +0000 |
| commit | 3ec6038965f8317eeec6c8424af34cbbdbb4a1f7 (patch) | |
| tree | 5fc84784dfd4a6396204be7526c50a9bd60af90f /code_coverage/Android.bp | |
| parent | 5374d6c9445745d02fb5acb2b0585231cebe8615 (diff) | |
Creating logical and snapshot partitions uses timeout in tests
CreateLogicalAndSnapshotPartition is used in first-stage init and by
default never blocks (thanks to a timeout set to 0). This causes some
libsnapshot tests to fail, because snapshot devices may be accessed
before there actual creation is complete.
Fix by introducing a timeout_ms argument, set to 0 if unspecified.
Test: libsnapshot_test
Bug: 142513589
Change-Id: I5e23adaaf6df8603df501b9a25fdd1e9d8c15252
Signed-off-by: Alessio Balsini <balsini@google.com>
Diffstat (limited to 'code_coverage/Android.bp')
0 files changed, 0 insertions, 0 deletions
