summaryrefslogtreecommitdiffstats
path: root/chrome/test/automated_ui_tests
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 03:27:57 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 03:27:57 +0000
commit9d840916c7c3aded72fa54cc4b73da0dcb90e63a (patch)
tree6525cc03507a967b0b25b5c78d2c8975b5c4cf63 /chrome/test/automated_ui_tests
parent5d455ec52e025b9322c6fa4cf96ea319cce9bc21 (diff)
downloadchromium_src-9d840916c7c3aded72fa54cc4b73da0dcb90e63a.zip
chromium_src-9d840916c7c3aded72fa54cc4b73da0dcb90e63a.tar.gz
chromium_src-9d840916c7c3aded72fa54cc4b73da0dcb90e63a.tar.bz2
Reduce timeout to 500ms.
TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@704 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automated_ui_tests')
-rw-r--r--chrome/test/automated_ui_tests/automated_ui_tests.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/automated_ui_tests/automated_ui_tests.cc b/chrome/test/automated_ui_tests/automated_ui_tests.cc
index 58c9f1b..4d18706 100644
--- a/chrome/test/automated_ui_tests/automated_ui_tests.cc
+++ b/chrome/test/automated_ui_tests/automated_ui_tests.cc
@@ -209,7 +209,7 @@ void AutomatedUITest::RunAutomatedUITest() {
if (DidCrash(true)) {
LogCrashResult(WideToASCII(GetMostRecentCrashDump()), false);
// Try and start up again.
- Sleep(1000);
+ Sleep(500);
CloseBrowserAndServer();
LaunchBrowserAndServer();
if (DidCrash(true)) {
@@ -264,7 +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);
+ Sleep(500);
CloseBrowserAndServer();
}
@@ -368,7 +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);
+ Sleep(500);
CloseBrowserAndServer();
did_complete_action = true;
} else if (LowerCaseEqualsASCII(action, "testclearbrowserdata")) {