commit | f4124ed7530dc563acd3e663d7b2f478008b3e9b | [log] [tgz] |
---|---|---|
author | Richard Frankel <rofrankel@google.com> | Tue May 10 19:02:31 2016 -0400 |
committer | Richard Frankel <rofrankel@google.com> | Tue May 10 19:02:31 2016 -0400 |
tree | cce89594fd78752d85408c1c7abfa286abb4a8ce | |
parent | 921f4004a2c23ad5ce74c175c6b663614da25d7e [diff] |
conman: Fix a flaky test. Previously, there was code that would run conman until it updated its cached interface state, and then until it scanned. But occasionally the scan would happen before or during the main loop iteration which updated the interfaces, in which case run_until_scan would never terminate. This fixes the issue by adding a run_until_* function which combines the two. Change-Id: I520a6ae1fb65cdfa5ff8a865a232d8cfaf3112af