Bug 1605550 - Narrow the filter for Safebrowsing files to avoid collisions r=marionette-reviewers,dimi,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D58586

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Steven Englehardt 2020-01-04 07:35:01 +00:00
parent 21da23a2c7
commit e6d6a4346d

View File

@ -71,13 +71,15 @@ class TestSafeBrowsingInitialDownload(PuppeteerMixin, MarionetteTestCase):
super(TestSafeBrowsingInitialDownload, self).setUp()
self.safebrowsing_v2_files = self.get_safebrowsing_files(False)
if any(f.startswith('goog') for f in self.safebrowsing_v2_files):
if any(f.startswith('goog-') or f.startswith('googpub-')
for f in self.safebrowsing_v2_files):
self.prefs_provider_update_time.update({
'browser.safebrowsing.provider.google.nextupdatetime': 1,
})
self.safebrowsing_v4_files = self.get_safebrowsing_files(True)
if any(f.startswith('goog') for f in self.safebrowsing_v4_files):
if any(f.startswith('goog-') or f.startswith('googpub-')
for f in self.safebrowsing_v4_files):
self.prefs_provider_update_time.update({
'browser.safebrowsing.provider.google4.nextupdatetime': 1,
})