diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 22:59:53 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 22:59:53 +0000 |
commit | 596bf79c4245996b0cb0b1a63ccaacbd0f9f83f0 (patch) | |
tree | f4984a73abe0314ee0fc89b0a2f795b30888a725 | |
parent | 1250c00f9fd6679b0aa3031b7fa8250b7e4d73ea (diff) | |
download | chromium_src-596bf79c4245996b0cb0b1a63ccaacbd0f9f83f0.zip chromium_src-596bf79c4245996b0cb0b1a63ccaacbd0f9f83f0.tar.gz chromium_src-596bf79c4245996b0cb0b1a63ccaacbd0f9f83f0.tar.bz2 |
Add additional logging to diagnose flaky testZipInIncognito test
Review URL: http://codereview.chromium.org/6369010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72221 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/test/functional/downloads.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py index 8f5227f..0e7dda3 100644 --- a/chrome/test/functional/downloads.py +++ b/chrome/test/functional/downloads.py @@ -142,7 +142,10 @@ class DownloadsTest(pyauto.PyUITest): # Verify that download info exists in the correct profile. self.assertEqual(len(incognito_downloads), 1) - 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): |