Skip to content
Commit b5878363 authored by Junyu Lai's avatar Junyu Lai
Browse files

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
parent 3e777880
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment