Bug 1374268 - Increase waiting time for all safebrowsing files being downloaded draft
authorThomas Nguyen <tnguyen@mozilla.com>
Mon, 17 Jul 2017 10:23:36 +0800
changeset 609653 0b94267816c6ed8e5c8b1d471856c9e3db7da4f1
parent 606556 0e41d07a703f19224f60b01577b2cbb5708046c9
child 637609 e992d34c36f0b2a967f019b969d62e7cdc8ed484
push id68619
push userbmo:tnguyen@mozilla.com
push dateMon, 17 Jul 2017 06:17:02 +0000
bugs1374268
milestone56.0a1
Bug 1374268 - Increase waiting time for all safebrowsing files being downloaded MozReview-Commit-ID: He4WJWtE5Dl
testing/firefox-ui/tests/functional/security/test_safe_browsing_initial_download.py
--- a/testing/firefox-ui/tests/functional/security/test_safe_browsing_initial_download.py
+++ b/testing/firefox-ui/tests/functional/security/test_safe_browsing_initial_download.py
@@ -93,17 +93,17 @@ class TestSafeBrowsingInitialDownload(Pu
             super(TestSafeBrowsingInitialDownload, self).tearDown()
 
     def test_safe_browsing_initial_download(self):
         def check_downloaded(_):
             return reduce(lambda state, pref: state and int(self.marionette.get_pref(pref)) != 1,
                           self.prefs_provider_update_time.keys(), True)
 
         try:
-            Wait(self.marionette, timeout=60).until(
+            Wait(self.marionette, timeout=90).until(
                 check_downloaded, message='Not all safebrowsing files have been downloaded')
         finally:
             files_on_disk_toplevel = os.listdir(self.safebrowsing_path)
             for f in self.safebrowsing_v2_files:
                 self.assertIn(f, files_on_disk_toplevel)
 
             if len(self.safebrowsing_v4_files) > 0:
                 files_on_disk_google4 = os.listdir(os.path.join(self.safebrowsing_path, 'google4'))