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

Unified Diff: chrome/test/functional/stress.py

Issue 5755003: Fix pyauto flakiness by waiting for notification that the renderer process' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 10 years 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/test/functional/stress.py
diff --git a/chrome/test/functional/stress.py b/chrome/test/functional/stress.py
index c64315fcd3784bfe4847d361c06a80b443f2bfc3..f5866ac1c8d4574fd4075ce15621854e896b013f 100644
--- a/chrome/test/functional/stress.py
+++ b/chrome/test/functional/stress.py
@@ -235,7 +235,8 @@ class StressTest(pyauto.PyUITest):
info = self.GetBrowserInfo()
# Kill all renderer processes
for tab_index in range(self.GetTabCount(0)):
- self.Kill(info['windows'][0]['tabs'][tab_index]['renderer_pid'])
+ self.KillRendererProcess(
+ info['windows'][0]['tabs'][tab_index]['renderer_pid'])
self._ReloadAllTabs()
self._CloseAllTabs()

Powered by Google App Engine
This is Rietveld 408576698