| Index: build/android/test_runner.py
|
| diff --git a/build/android/test_runner.py b/build/android/test_runner.py
|
| index 7a14a7166735dffa60f5f91610d76ac0e9f34840..922b8999ee4f4665d01cae88e16b1df52ca0aa65 100755
|
| --- a/build/android/test_runner.py
|
| +++ b/build/android/test_runner.py
|
| @@ -821,6 +821,11 @@ def RunTestsCommand(args): # pylint: disable=too-many-return-statements
|
| if not ports.ResetTestServerPortAllocation():
|
| raise Exception('Failed to reset test server port.')
|
|
|
| + # pylint: disable=protected-access
|
| + if os.path.exists(ports._TEST_SERVER_PORT_LOCKFILE):
|
| + os.unlink(ports._TEST_SERVER_PORT_LOCKFILE)
|
| + # pylint: enable=protected-access
|
| +
|
| def get_devices():
|
| return _GetAttachedDevices(args.blacklist_file, args.test_device,
|
| args.enable_device_cache, args.num_retries)
|
|
|