Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();