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

Commit 7ff5f631 authored by Junyu Lai's avatar Junyu Lai Committed by Gerrit Code Review
Browse files

Merge "Fix flaky ConnectivityServiceTest#testNetworkFactoryUnregister"

parents 47c884dc 433d2ad0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2465,8 +2465,8 @@ public class ConnectivityServiceTest {
            final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(),
                    mServiceContext, "testFactory", filter);
            // Register the factory and don't be surprised when the default request arrives.
            testFactory.register();
            testFactory.expectAddRequestsWithScores(0);
            testFactory.register();
            testFactory.waitForNetworkRequests(1);

            testFactory.setScoreFilter(42);