summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_restore_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/tab_restore_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/tab_restore_uitest.cc')
-rw-r--r--chrome/browser/tab_restore_uitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_restore_uitest.cc b/chrome/browser/tab_restore_uitest.cc
index 811b6d2..16fef52 100644
--- a/chrome/browser/tab_restore_uitest.cc
+++ b/chrome/browser/tab_restore_uitest.cc
@@ -73,7 +73,7 @@ class TabRestoreUITest : public UITest {
// Wait for the restored tab to finish loading.
scoped_ptr<TabProxy> restored_tab_proxy(
browser_proxy->GetTab(restored_tab_count - 1));
- ASSERT_TRUE(restored_tab_proxy->WaitForTabToBeRestored());
+ ASSERT_TRUE(restored_tab_proxy->WaitForTabToBeRestored(kWaitForActionMsec));
}
GURL url1_;