Test that IpNeighborMonitor is stopped when IpServer stops.

Bug: 159097215
Test: test-only change
Change-Id: I2292c1cbff06a304f70191b88d833b19af2b8b92
This commit is contained in:
Lorenzo Colitti
2020-06-18 23:44:51 +09:00
parent d244bd097c
commit 00ea6cecd8

View File

@@ -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();
}