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

Side by Side 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, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os, time 5 import os, time
6 6
7 from autotest_lib.client.bin import test, utils 7 from autotest_lib.client.bin import test, utils
8 from autotest_lib.client.common_lib import error, site_ui 8 from autotest_lib.client.common_lib import error, site_ui
9 9
10 class realtimecomm_GTalkPlayground(test.test): 10 class realtimecomm_GTalkPlayground(test.test):
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 def run_once(self): 69 def run_once(self):
70 self.run_cleanup() 70 self.run_cleanup()
71 self.run_setup() 71 self.run_setup()
72 72
73 # Launch Playground 73 # Launch Playground
74 path = os.path.join(self.playground, 74 path = os.path.join(self.playground,
75 'buzz/javascript/media/examples') 75 'buzz/javascript/media/examples')
76 page = 'videoplayground.html' 76 page = 'videoplayground.html'
77 para = 'callType=v' 77 para = 'callType=v'
78 playground_url = "%s/%s?%s" % (path, page, para) 78 playground_url = "%s/%s?%s" % (path, page, para)
79 session = site_ui.ChromeSession(playground_url) 79 utils.run('su chronos -c \'DISPLAY=:0 \
80 time.sleep(60) 80 XAUTHORITY=/home/chronos/.Xauthority \
81 session.close() 81 /opt/google/chrome/chrome \
82 --no-first-run %s\' &' % playground_url)
83 time.sleep(120)
82 84
83 # Verify log 85 # Verify log
84 self.run_verification() 86 self.run_verification()
85 self.run_cleanup() 87 self.run_cleanup()
OLDNEW
« 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