OSDN Git Service

ConnectivityServiceTest: remove remaining poll loops.
authorLorenzo Colitti <lorenzo@google.com>
Mon, 30 Jan 2017 08:45:49 +0000 (17:45 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Tue, 31 Jan 2017 06:44:23 +0000 (15:44 +0900)
commitd2706127d019898d0a14dca1ce818ac44ced1bee
tree1e939fec882e123cfdd162c4fd6a1e42259c08fc
parent30145d755cd32c41b3e4032c89cb556d0719b740
ConnectivityServiceTest: remove remaining poll loops.

All the tests are now asynchronous. The only remaining uses of
Thread.sleep() are in the tests that check for NetworkRequest
timeouts.

Test: ConnectivityServiceTest passes 100 times in a row
Bug: 32561414
Change-Id: If420bd66c692a90d5031ee06a888a8cc3b4398a8
tests/net/java/com/android/server/ConnectivityServiceTest.java