summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_uitest.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 14:30:27 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 14:30:27 +0000
commit4794938ba46c128bd207c4f4509f86b1aceb1284 (patch)
tree9bf746f8ca8a11708a4255c37d00f87e30fb9c83 /chrome/browser/browser_uitest.cc
parentdef969b7488c51105269ffd50e775ab4a46dd022 (diff)
downloadchromium_src-4794938ba46c128bd207c4f4509f86b1aceb1284.zip
chromium_src-4794938ba46c128bd207c4f4509f86b1aceb1284.tar.gz
chromium_src-4794938ba46c128bd207c4f4509f86b1aceb1284.tar.bz2
Two changes to help track down why session restore test is failing:
1. Adds a timeout in waiting for a tab to be restored. 2. Adds a bunch of printfs that will hopefully let me figure out where the test is failing. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_uitest.cc')
-rw-r--r--chrome/browser/browser_uitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_uitest.cc b/chrome/browser/browser_uitest.cc
index 0739179..470d2a5 100644
--- a/chrome/browser/browser_uitest.cc
+++ b/chrome/browser/browser_uitest.cc
@@ -236,7 +236,7 @@ TEST_F(BrowserTest, DuplicateTab) {
browser_proxy.reset(automation()->GetBrowserWindow(1));
tab_proxy.reset(browser_proxy->GetTab(0));
- ASSERT_TRUE(tab_proxy->WaitForTabToBeRestored());
+ ASSERT_TRUE(tab_proxy->WaitForTabToBeRestored(kWaitForActionMsec));
// Verify the stack of urls.
GURL url;