servo_test: Increase client polling frequency

This saves 2~5 seconds at each test step.

BUG=chromium-os:34392
TEST=Ran a test and passed.

Change-Id: I9a19b65c2d98a0687a3a381fc5e997413b922824
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/33182
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
diff --git a/server/cros/servo_test.py b/server/cros/servo_test.py
index f179a07..1187f8f 100644
--- a/server/cros/servo_test.py
+++ b/server/cros/servo_test.py
@@ -212,10 +212,10 @@
         logging.info('Server proxy: %s' % remote_url)
 
         # Poll for client RPC server to come online.
-        timeout = 10
+        timeout = 20
         succeed = False
         while timeout > 0 and not succeed:
-            time.sleep(2)
+            time.sleep(1)
             try:
                 remote_object = getattr(self, info['ref_name'])
                 polling_rpc = getattr(remote_object, info['polling_rpc'])
@@ -247,8 +247,8 @@
         # Ensure old ssh connections are terminated.
         self._terminate_all_ssh()
         # Wait for the client to come up.
-        while timeout > 0 and not self._sshd_test(self._client.ip, timeout=5):
-            timeout -= 5
+        while timeout > 0 and not self._sshd_test(self._client.ip, timeout=2):
+            timeout -= 2
         assert timeout, 'Timed out waiting for client to reboot.'
         logging.info('Server: Client machine is up.')
         # Relaunch remote clients.