diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 00:58:31 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 00:58:31 +0000 |
commit | 59202e06966c69bcde5ea89241a5816e716017cc (patch) | |
tree | 512bba03f28fd17328c7b52687b24bff0864d291 /chrome/test | |
parent | f2baf167bba91fd24087427969fa4c616535640f (diff) | |
download | chromium_src-59202e06966c69bcde5ea89241a5816e716017cc.zip chromium_src-59202e06966c69bcde5ea89241a5816e716017cc.tar.gz chromium_src-59202e06966c69bcde5ea89241a5816e716017cc.tar.bz2 |
Temporarily add 1s sleep to see if waiting before quitting the browser helps reduce TabSelectedAt crashes.
B=1145714
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@689 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/automated_ui_tests/automated_ui_tests.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/automated_ui_tests/automated_ui_tests.cc b/chrome/test/automated_ui_tests/automated_ui_tests.cc index d682d9e..58c9f1b 100644 --- a/chrome/test/automated_ui_tests/automated_ui_tests.cc +++ b/chrome/test/automated_ui_tests/automated_ui_tests.cc @@ -209,6 +209,7 @@ void AutomatedUITest::RunAutomatedUITest() { if (DidCrash(true)) { LogCrashResult(WideToASCII(GetMostRecentCrashDump()), false); // Try and start up again. + Sleep(1000); CloseBrowserAndServer(); LaunchBrowserAndServer(); if (DidCrash(true)) { @@ -263,6 +264,7 @@ void AutomatedUITest::RunAutomatedUITest() { } else { // If there was a previous crash, just tear down without logging, so // that we know what the last command was before we crashed. + Sleep(1000); CloseBrowserAndServer(); } @@ -366,6 +368,7 @@ bool AutomatedUITest::DoAction(const std::string & action) { } else if (LowerCaseEqualsASCII(action, "taskmanager")) { did_complete_action = OpenTaskManagerDialog(); } else if (LowerCaseEqualsASCII(action, "teardown")) { + Sleep(1000); CloseBrowserAndServer(); did_complete_action = true; } else if (LowerCaseEqualsASCII(action, "testclearbrowserdata")) { |