Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10326)

Unified Diff: chrome/common/service_process_util_unittest.cc

Issue 6689014: GTTF: Detect browser crashes on shutdown in UI tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/service_process_util_unittest.cc
===================================================================
--- chrome/common/service_process_util_unittest.cc (revision 80488)
+++ chrome/common/service_process_util_unittest.cc (working copy)
@@ -180,7 +180,8 @@
ASSERT_TRUE(ForceServiceProcessShutdown(version, pid));
int exit_code = 0;
ASSERT_TRUE(base::WaitForExitCodeWithTimeout(handle,
- &exit_code, TestTimeouts::action_timeout_ms() * 2));
+ &exit_code, TestTimeouts::action_max_timeout_ms()));
+ base::CloseProcessHandle(handle);
ASSERT_EQ(exit_code, 0);
}

Powered by Google App Engine
This is Rietveld 408576698