diff options
author | Po-Hsien Wang <pwang@chromium.org> | 2017-06-22 12:03:09 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-26 15:28:36 -0700 |
commit | 672fb5f8806694d9476f016c0f1094da29120f31 (patch) | |
tree | bc59ba2a03d1d69d9d7c386ee49ee122d3574b22 /server/control_segments | |
parent | 68e30b8567cfc17cd31685160ffe3a2c3c3854e7 (diff) | |
download | autotest-672fb5f8806694d9476f016c0f1094da29120f31.tar.gz |
Rename SSHHost.run to SSHHost.run_very_slowly
This CL renames several places that calls SSHHost.run directly to SSHHost.run_very_slowly.
In addition, it warns the caller with a more verbose server stack message now.
BUG=chromium:735653
TEST=test_that dut graphics_Sanity
./utils/unittest_suite.py --debug
CQ-DEPEND=I2a434782b9b7ed7a3d31289d9925f3c8502a6d9f
Change-Id: Icd22fe9bcc4b5a47320478932194a8b535f4a936
Reviewed-on: https://chromium-review.googlesource.com/545116
Commit-Ready: Po-Hsien Wang <pwang@chromium.org>
Tested-by: Po-Hsien Wang <pwang@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Diffstat (limited to 'server/control_segments')
-rw-r--r-- | server/control_segments/get_network_stats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/control_segments/get_network_stats b/server/control_segments/get_network_stats index eeac989b30..0029ac64f1 100644 --- a/server/control_segments/get_network_stats +++ b/server/control_segments/get_network_stats @@ -21,7 +21,7 @@ def get_network_stats(machine): # In a single ssh call, get list of network interfaces # and their byte counts. - result = dut.run('route; echo SEPARATOR; cat /proc/net/dev') + result = dut.run_very_slowly('route; echo SEPARATOR; cat /proc/net/dev') # Split output lines = result.stdout.splitlines() |