[android] Fix testing adb call

Looks like some debug leftover which force another retry.
This commit is contained in:
Vitaly Buka 2021-02-18 17:22:32 -08:00
parent e0589d70fb
commit df2940aa85

View File

@ -22,8 +22,6 @@ def adb(args, attempts = 1, timeout_sec = 600):
while attempts > 0 and ret != 0:
attempts -= 1
ret = subprocess.call(['timeout', str(timeout_sec), ADB] + args, stdout=out, stderr=subprocess.STDOUT)
if attempts != 0:
ret = 5
if ret != 0:
print "adb command failed", args
print tmpname