commit | e687d5844e60cbab42f975b63411be394beb69b7 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Mon Jul 05 06:31:01 2021 +0000 |
committer | Remi NGUYEN VAN <reminv@google.com> | Tue Jul 06 06:09:17 2021 +0000 |
tree | 534751e3f0e50f29406d5d8eadfb6a4882c7c0ae | |
parent | 6be4ebcb0a334b467e4b229c5fafa0088f7b5475 [diff] |
Fix flake in testMobileDataAlwaysOn The internal structure backing getAllNetworks is updated after invoking lost callbacks, so the test needs to wait for the handler to be idle before calling getAllNetworks. Also avoid assertions in finally clauses, as it causes confusing error messages. Bug: 185081944 Change-Id: I8ad5ab45a3e65b0031672e6f594b1a6d6ad5abcb Test: atest ConnectivityServiceTest