commit | 2374bd48ede3ca267a7843d9709986c0c701b5af | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Mon Sep 27 17:25:13 2021 -0700 |
committer | David Anderson <dvander@google.com> | Mon Sep 27 17:29:45 2021 -0700 |
tree | bab2db761b8b973cdac592310306b6bf83ace022 | |
parent | be17619cccc161a48a9bcf7b03384c32e13492db [diff] |
Add a test for bug 198265278. This test uses dependency injection to cause a failure in QuerySnapshotStatus. We expect ProcessUpdateState to return MergeFailed. The test also checks that if the merge is attempted again, it can succeed. Some duplicated code has also been factored out into the test harness. Bug: 198265278 Test: vts_libsnapshot_test gtest Change-Id: I6ccb434afa0e5ebf6781b2cec5277e3b7c210b77