Index: build/android/pylib/base/test_dispatcher.py |
diff --git a/build/android/pylib/base/test_dispatcher.py b/build/android/pylib/base/test_dispatcher.py |
index a8363c26f7569ba3d31f0a57b25b16f4f9c25727..650ea039eb0688b6d230bf91508d974daeab004c 100644 |
--- a/build/android/pylib/base/test_dispatcher.py |
+++ b/build/android/pylib/base/test_dispatcher.py |
@@ -330,7 +330,7 @@ def _GetAttachedDevices(wait_for_debugger=False, test_device=None): |
logging.warning('Debugger can not be sharded, using first available device') |
attached_devices = attached_devices[:1] |
- return attached_devices |
+ return sorted(attached_devices) |
def RunTests(tests, runner_factory, wait_for_debugger, test_device, |