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

Commit 26aab146 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Test that IpNeighborMonitor is stopped when IpServer stops.

Bug: 159097215
Test: test-only change
Change-Id: I2292c1cbff06a304f70191b88d833b19af2b8b92
parent 121246d1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -859,6 +859,7 @@ public class IpServerTest {
        verify(mBpfCoordinator).tetherOffloadRuleClear(mIpServer);
        verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighA, macA));
        verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighB, macB));
        verify(mIpNeighborMonitor).stop();
        resetNetdAndBpfCoordinator();
    }