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

Unified Diff: client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py

Issue 661442: Fix video hang after around 60 seconds. (Closed)
Patch Set: Fix video hang after about 60 seconds. Created 10 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py
diff --git a/client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py b/client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py
index 1cc4240021ca8eaead47f26fb5e206a59fec0d75..20f7da50dc497520bd3918cb4708e22106b866e9 100755
--- a/client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py
+++ b/client/site_tests/realtimecomm_GTalkPlayground/realtimecomm_GTalkPlayground.py
@@ -76,9 +76,11 @@ class realtimecomm_GTalkPlayground(test.test):
page = 'videoplayground.html'
para = 'callType=v'
playground_url = "%s/%s?%s" % (path, page, para)
- session = site_ui.ChromeSession(playground_url)
- time.sleep(60)
- session.close()
+ utils.run('su chronos -c \'DISPLAY=:0 \
+ XAUTHORITY=/home/chronos/.Xauthority \
+ /opt/google/chrome/chrome \
+ --no-first-run %s\' &' % playground_url)
+ time.sleep(120)
# Verify log
self.run_verification()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698