commit | 3b88af55d075da031524ff80519dda5d932ffb35 | [log] [tgz] |
---|---|---|
author | Richard Frankel <rofrankel@google.com> | Thu May 19 21:16:44 2016 -0400 |
committer | Richard Frankel <rofrankel@google.com> | Thu May 19 21:16:44 2016 -0400 |
tree | cdd979a889be293eea27fb5c9b8d55788965049c | |
parent | 25501fd17617ea5c77cf9386ad722b8b3b6be4a0 [diff] |
conman: Deflake test. The test contained a race condition which could result in a scan happening before expected, and then an infinite loop waiting for a scan that never happened. The fix is easy (and obvious in retrospect): don't enable the scan results until immediately before the run_until_interface_update_and_scan call. Change-Id: I8fbc8e7377cebfa8f4b471ec9806da50e2cd2e37