commit | 1f210f792a21fd1104cd013fd54d1d3372b11a7c | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Mon Jul 05 06:59:15 2021 +0000 |
committer | Remi NGUYEN VAN <reminv@google.com> | Tue Jul 06 06:05:38 2021 +0000 |
tree | a1e8aa7e6bc5bb4880bda244a8bafdefc630687a | |
parent | 6be4ebcb0a334b467e4b229c5fafa0088f7b5475 [diff] |
Fix flake in testConnectivityDiagnosticsCallbackOnConnectivityReported The test relied on waitForIdle to ensure diagnostics callbacks were called, but as this may require several iterations in the handler queue, this makes the test unreliable. Use mockito timeouts on the verify() calls instead. Bug: 192651465 Change-Id: Iae1704af7ae3649eae301c6aee223ac753629d55 Test: atest ConnectivityServiceTest