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

Unified Diff: functional/downloads.py

Issue 6369010: Add additional logging to diagnose flaky testZipInIncognito test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/test/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: functional/downloads.py
===================================================================
--- functional/downloads.py (revision 71499)
+++ functional/downloads.py (working copy)
@@ -152,7 +152,10 @@
# Using WaitUntil is the only resort.
self.NavigateToURL(file_url, 1, 0)
self.assertTrue(self.WaitUntil(lambda: os.path.exists(downloaded_pkg)))
- self.assertTrue(self._EqualFileContents(file_path, downloaded_pkg))
+ self.assertTrue(self._EqualFileContents(file_path, downloaded_pkg),
+ msg='%s (size %d) and %s (size %d) do not match' % (
+ file_path, os.path.getsize(file_path),
+ downloaded_pkg, os.path.getsize(downloaded_pkg)))
self.assertTrue(self.IsDownloadShelfVisible(1))
def testSaveDangerousFile(self):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698