Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7503)

Unified Diff: chrome/test/functional/instant.py

Issue 7544026: Fix for flakiness in pyauto automation hook WaitForDownloadsToComplete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-wrote the first patch set. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/functional/instant.py
diff --git a/chrome/test/functional/instant.py b/chrome/test/functional/instant.py
index 796b68754389f4ef6b1e24ff8c5d9fcb58f330e8..aa5311aa280e964c63e9753479c8f1d877ff34c1 100644
--- a/chrome/test/functional/instant.py
+++ b/chrome/test/functional/instant.py
@@ -229,7 +229,7 @@ class InstantTest(pyauto.PyUITest):
filepath = self.GetFileURLForDataPath(path)
self.SetOmniboxText(filepath)
self.WaitUntilOmniboxQueryDone()
- self.WaitForAllDownloadsToComplete()
+ self.WaitForAllDownloadsToComplete([])
self.assertFalse(self.GetDownloadsInfo().Downloads(),
msg='Should not download: %s' % filepath)

Powered by Google App Engine
This is Rietveld 408576698