diff options
author | Alessio Balsini <balsini@google.com> | 2020-02-04 19:17:10 +0000 |
---|---|---|
committer | Alessio Balsini <balsini@google.com> | 2020-02-04 19:33:35 +0000 |
commit | 841bccc1ebd3b2fa7665ce5436828ebe771eec82 (patch) | |
tree | 5650d5727afa13b9caa918cdccae60667cf21ca7 /libsparse/sparse.cpp | |
parent | 09b9fc56a29aabef4f79c999dfdf03eabd1faf54 (diff) |
snapshot/test: Add delay to all the CreateLogicalAndSnapshotPartitions
In tests CreateLogicalAndSnapshotPartitions may give flaky results
because not synchronous.
Add a bounded delay that prevents this behavior defined by a single
constexpr.
Bug: none
Test: libsnapshot_test
Change-Id: Iad3c24b1d3e82e3bd695d6dbbc8af8eab75bee32
Signed-off-by: Alessio Balsini <balsini@google.com>
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions