commit | cc0fded2a80c2c6c7fb46cbd7eee578e7a78c50a | [log] [tgz] |
---|---|---|
author | mukesh agrawal <quiche@chromium.org> | Wed May 09 13:40:58 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Tue May 15 18:06:59 2012 -0700 |
tree | 11ba6775d23013c13b49b620a4e72b915380bab9 | |
parent | b879d14880ce685b874d0837b907816323a74f15 [diff] |
shill: implement timeout for DHCP requests BUG=chromium-os:30689 TEST=new unit tests, manual (see below) Manual testing: - Start shill. - ff_debug +dhcp - Plug USB-Ethernet into a switch (to get carrier), but without an upstream connection for the switch. Plug dongle into USB port. - Wait 30 seconds. - Check log file, find "Timed out waiting for DHCP lease on eth0", and "Service Ethernet state Configuring -> Disconnected". Change-Id: Ifc27539ec7191b060f615eb9dec61c9fdab07267 Reviewed-on: https://gerrit.chromium.org/gerrit/22302 Commit-Ready: mukesh agrawal <quiche@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>