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

Unified Diff: chrome/test/vr/perf/latency/robot_arm.py

Issue 2904583003: Support multiple URLs for latency testing (Closed)
Patch Set: Fix adb startup message appearing in device name Created 3 years, 7 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/test/vr/perf/latency/robot_arm.py
diff --git a/chrome/test/vr/perf/latency/robot_arm.py b/chrome/test/vr/perf/latency/robot_arm.py
index d62bef99b9cf6ef85f4f655b87440a2cda370b36..052b96179ba54fed42ce9a74a51bedae60485fab 100644
--- a/chrome/test/vr/perf/latency/robot_arm.py
+++ b/chrome/test/vr/perf/latency/robot_arm.py
@@ -44,3 +44,7 @@ class RobotArm():
if not self._connection:
return
self._connection.write('0\n')
+ # The manual usage instructions are printed over the serial connection
+ # every time we send a command - long test runs can result in the buffer
+ # filling up and causing the arm to hang, so periodically clear the buffer.
+ self._connection.flushInput()
« no previous file with comments | « chrome/test/vr/perf/latency/android_webvr_latency_test.py ('k') | chrome/test/vr/perf/latency/run_latency_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698