summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2023-07-06 16:11:47 -0700
committer Mady Mellor <madym@google.com> 2023-07-07 11:00:55 -0700
commit3a1af7208b19fea105d141eca8fcc658c2bbe5c9 (patch)
tree7688818abd89e0f29f0c89d2c102d0f05528fd61 /libs/androidfw/BackupData.cpp
parentf58e1e47dff0751b4109171e0d17d787725d7663 (diff)
Wait for bubbles to be loaded in BubbleDataRepositoryTest
I made some changes ag/23755383 where we might write to XML again when loading bubbles to clear out anything that is no longer valid. Testing this is causing some issues with another test that validates XML is read / written correctly. Basically, the load is async so it might write over data being used in another test. The fix is to wait until the load is finished in BubbleDataRepositoryTest. Additionally uses a non-mocked executor so that the callback actually runs, before it wasn't so this test wasn't really testing properly. Test: atest BubbleDataRepositoryTest BubblePersistentRepositoryTest --iterations 10 Bug: 288984801 Bug: 288730033 Change-Id: I461287ec40ca0a4e01185a108a23c4f25b401325
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions