commit | df147a3a809b9205dfb7aa8fffdfa4a266c77604 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Fri Jan 21 14:31:17 2022 +0000 |
committer | Zimuzo Ezeozue <zezeozue@google.com> | Fri Jan 21 15:39:00 2022 +0000 |
tree | fb5940fe20f140af7b1b3ead5a434a631243f090 | |
parent | 51db8d84e096ce352e55ffeab547c0793de64205 [diff] |
Fix picker sync test flakes PickerSyncControllerTest and PickerDataLayerTest weren't running hermetically because they used different db name and the setup stage wasn't resetting the correct db. Now, moved all tests to use the same name and delete the db between tests instead to clear state. This also ensures any sync/user prefs are cleared. Test: atest PickerSyncControllerTest Bug: 213144765 Bug: 215618964 Change-Id: Ibbcc21f22b8e3ead1b5b38160fec89219730cb72