Test that IpNeighborMonitor is stopped when IpServer stops.
Bug: 159097215 Test: test-only change Original-Change: https://android-review.googlesource.com/1343441 Merged-In: I2292c1cbff06a304f70191b88d833b19af2b8b92 Change-Id: I2292c1cbff06a304f70191b88d833b19af2b8b92
This commit is contained in:
committed by
Lorenzo Colitti
parent
8bcf198c67
commit
83f6a384cb
@@ -860,6 +860,7 @@ public class IpServerTest {
|
|||||||
verify(mBpfCoordinator).tetherOffloadRuleClear(mIpServer);
|
verify(mBpfCoordinator).tetherOffloadRuleClear(mIpServer);
|
||||||
verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighA, macA));
|
verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighA, macA));
|
||||||
verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighB, macB));
|
verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighB, macB));
|
||||||
|
verify(mIpNeighborMonitor).stop();
|
||||||
resetNetdAndBpfCoordinator();
|
resetNetdAndBpfCoordinator();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user