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
93e59ee726
commit
9644bc01dd
@@ -860,6 +860,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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user