History log of /external/autotest/server/hosts/rpc_server_tracker.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a28f89a1ad06d4b04ea05b85c0de8ddccb3564f4 28-Dec-2015 Dane Pollock <danepollock@google.com> autotest: fix missing import in rpc_server_tracker

TEST=Ran jetstream_Connect test.
BUG=None

Change-Id: Ie199c3c1c815dd37f3b4133a814bc4e5e9d3ab21
Reviewed-on: https://chromium-review.googlesource.com/320040
Commit-Ready: Dane Pollock <danepollock@google.com>
Tested-by: Dane Pollock <danepollock@google.com>
Reviewed-by: Roshan Pius <rpius@chromium.org>
/external/autotest/server/hosts/rpc_server_tracker.py
58e5dd3b600081607d5ecb514d9bf3ebea83c533 17-Oct-2015 Roshan Pius <rpius@google.com> autotest: Create RpcServerTracker for Host objects.

Create a generic RpcServerTracker which can be used by any host object
to start and manage RPC server connections. The RPCServerTracker uses
the associated host object to start the required XML/JSON RPC server on the
DUT and forwards the port from the AutoTest Server to Brillo/Cros DUT.
This CL basically ports over most of the RPC server connection
management code from CrosHost into a separate class so that it can be
reused by AdbHost as well.
AdbHost modifies the |host.rpc_port_forward/disconnect| method to forward the
RPC connection from the AdbHost to Brillo DUT using 'adb forward'.

Related Change:
1. Add a |verbose| flag to the |host.run| method in AdbHost so that we can
reuse the |host.run_background| method already implemented by SshHost.

BUG=brillo:24338381
TEST=Ran network_WiFi_SimpleConnect.wifi_check11g on both dragonboard
and cros DUT.
`test_that $host --board=panther network_WiFi_SimpleConnect.wifi_check11g`

Change-Id: I7e44cbd5897871f01f320cb57377a28491571478
Reviewed-on: https://chromium-review.googlesource.com/307163
Commit-Ready: Roshan Pius <rpius@chromium.org>
Tested-by: Roshan Pius <rpius@chromium.org>
Reviewed-by: Roshan Pius <rpius@chromium.org>
/external/autotest/server/hosts/rpc_server_tracker.py