commit | 9044d97ab55ecb80b22a3204e01de18805634144 | [log] [tgz] |
---|---|---|
author | Keith Haddow <haddowk@chromium.org> | Sun Aug 04 15:02:44 2019 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Aug 05 16:01:44 2019 +0000 |
tree | 95fac8d08494d9b825fd89369986c5f034d24a8d | |
parent | c8bdc8b4cc5c7b2a627b8d2950a78ec859825281 [diff] |
[moblab] Update unit test when for DUT ssh command Fixed the code but forgot to update the unit test. BUG=chromium:990418 TEST=local unit test run. Change-Id: Iede4a76319b5e80c361328b5ed57b803d8e608ad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1735864 Reviewed-by: Keith Haddow <haddowk@chromium.org> Commit-Queue: Keith Haddow <haddowk@chromium.org> Tested-by: Keith Haddow <haddowk@chromium.org> Auto-Submit: Keith Haddow <haddowk@chromium.org>
diff --git a/frontend/afe/moblab_rpc_interface_unittest.py b/frontend/afe/moblab_rpc_interface_unittest.py index 28b62e8..1ba949b 100644 --- a/frontend/afe/moblab_rpc_interface_unittest.py +++ b/frontend/afe/moblab_rpc_interface_unittest.py
@@ -706,7 +706,7 @@ def testDutSshConnection(self): good_ip = '192.168.0.20' bad_ip = '192.168.0.30' - cmd = ('ssh -o ConnectTimeout=2 -o StrictHostKeyChecking=no ' + cmd = ('ssh -o ConnectTimeout=3 -o StrictHostKeyChecking=no ' "root@%s 'timeout 2 cat /etc/lsb-release'") self.mox.StubOutWithMock(moblab_rpc_interface.subprocess,