Skip to content
Snippets Groups Projects
Commit 82157a06 authored by Michael Plass's avatar Michael Plass Committed by Android (Google) Code Review
Browse files

Merge "Fix flaky WifiTrackerTest"

parents 10adc355 992588ca
No related branches found
No related tags found
No related merge requests found
......@@ -723,9 +723,9 @@ public class WifiTrackerTest {
CountDownLatch latch = new CountDownLatch(1);
// Once the new info has been fetched, we need to wait for the access points to be copied
mAccessPointsChangedLatch = new CountDownLatch(1);
doAnswer(invocation -> {
latch.countDown();
mAccessPointsChangedLatch = new CountDownLatch(1);
return info;
}).when(mockWifiManager).getConnectionInfo();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment