summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-24 21:46:44 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-24 21:46:44 +0000
commit64c113e0fc564e7367d6a2a4e34a2f5c5cb8e763 (patch)
tree3f6c06124e2d3f1dba047fd707de7b115d49e83c /chrome
parente39027a75394d6d05a13f4af83b91482324ee071 (diff)
downloadchromium_src-64c113e0fc564e7367d6a2a4e34a2f5c5cb8e763.zip
chromium_src-64c113e0fc564e7367d6a2a4e34a2f5c5cb8e763.tar.gz
chromium_src-64c113e0fc564e7367d6a2a4e34a2f5c5cb8e763.tar.bz2
Fix flaky testZipInIncognito
testZipInIncognito occassionally fails because the download hasn't finished yet. fix it. BUG= TEST= Review URL: http://codereview.chromium.org/6275016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/functional/downloads.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py
index 0e7dda3..ceadd88 100644
--- a/chrome/test/functional/downloads.py
+++ b/chrome/test/functional/downloads.py
@@ -138,6 +138,9 @@ class DownloadsTest(pyauto.PyUITest):
# Trigger download and wait in new incognito window.
self.DownloadAndWaitForStart(file_url, 1)
self.WaitForAllDownloadsToComplete(1)
+ # Remove next line when WaitForAllDownloadsToComplete can reliably wait
+ # for downloads in incognito window. crbug.com/69738
+ self.WaitForDownloadToComplete(downloaded_pkg)
incognito_downloads = self.GetDownloadsInfo(1).Downloads()
# Verify that download info exists in the correct profile.