Description[Offline Pages] Fix flaky test due to actual loading of database.
The flaky was due to the issue when trying to load OfflinePageModel, it
would crash with SQLite Error 1802. Fixed by mock the OfflinePageModel
if we're in a testing environment.
BUG=644570
Committed: https://crrev.com/dd2258ce9e678e3bdbcfe814649851882dfe8118
Cr-Commit-Position: refs/heads/master@{#417465}
Patch Set 1 #Patch Set 2 : [Offline Pages] Fix flaky test due to actual loading of database. #Patch Set 3 : fixing build. #
Total comments: 1
Patch Set 4 : Comments. #Patch Set 5 : Move to testing_profile #Patch Set 6 : fixing build. #Patch Set 7 : Make include guarded by build flag check. #
Total comments: 1
Patch Set 8 : Removing unused includes. #Patch Set 9 : Add offline_pages:test_support as dependency. #
Messages
Total messages: 36 (24 generated)
|