Wait for test network disconnection before exiting tearDown
The test received an unexpected callback because the NetworkAgent which is registered by the previous test is not disconnected yet. So the new test has chance to receive the network which is created by the previous test and which is going to be disconnected. Hence, this change make sure all networks has been disconnected before exiting tearDown. Test: atest CtsNetTestCases:NetworkScoreTest \ --rerun-until-failure 1000 Fix: 242675267 Change-Id: Ic2451b10bec0e656d4651b5f8ee99ef437e92695
Loading
Please register or sign in to comment