| commit | 8bce28f81f2c08fe2652d617e0a4b767d7a6cacc | [log] [tgz] |
|---|---|---|
| author | Hugo Benichi <hugobenichi@google.com> | Fri Sep 08 09:03:54 2017 +0900 |
| committer | Hugo Benichi <hugobenichi@google.com> | Wed Sep 13 18:38:53 2017 +0900 |
| tree | 29805985eb45ef05d892a593de90ff2616151a7e | |
| parent | c400fe3d5bd0fbdd94593de128dcb00328f8e9e7 [diff] |
Fix flaky NsdManagerTest
Bad synchronization between the mock handler and the test assertions
were causing testDiscoverService() to sometime fails (1/50 ~ 1/100 repro
rate).
Bug: 32561414
Bug: 62918393
Test: runtest frameworks-net, NsdManager#testDiscoverService now passes
1000 times without errors.
Change-Id: I0308cdf48fc6bdc2fc9b4e8f7d5241a1cf2ea443