Index: build/android/pylib/single_test_runner.py |
diff --git a/build/android/pylib/single_test_runner.py b/build/android/pylib/single_test_runner.py |
index 46cfa9112f8f45f0a6b71085b5ea1ef7d737d07a..f46551715cde70d0ec74b34d9678f2ced362fa21 100644 |
--- a/build/android/pylib/single_test_runner.py |
+++ b/build/android/pylib/single_test_runner.py |
@@ -248,6 +248,8 @@ class SingleTestRunner(BaseTestRunner): |
if test_data and not self.fast_and_loose: |
# Due to the large size of certain test data, we use sdcard to store the |
# test data and create symbolic links to map them to data/local/tmp/. |
+ # Before that, make sure SD card is ready. |
+ self.adb.WaitForSdCardReady(20) |
for data in test_data: |
self.CopyTestData([data], '/sdcard/') |
self.LinkSdCardPathsToTempDir(test_data) |