aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-31 03:10:29 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-31 03:10:29 +0000
commit17128db022a17946ca4e2c577d558c5606786da7 (patch)
tree665564272a2c03e0bdd2fc4732faa8f1e5864150
parent5645b440b126fb9b7ad3f7907e8e834470158276 (diff)
parentc8f38d3a93a7b86570d9a6d47df2d1b170b0ce11 (diff)
downloadhidl-android-vts-12.1_r7.tar.gz
Change-Id: Ide05a5f79d8cff6f1349b24b357334c0b70cc5ef
-rw-r--r--test/java_test/hidl_test_java.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/java_test/hidl_test_java.py b/test/java_test/hidl_test_java.py
index 2a5d8b34..ccafd883 100644
--- a/test/java_test/hidl_test_java.py
+++ b/test/java_test/hidl_test_java.py
@@ -18,6 +18,7 @@
import os
import subprocess
import unittest
+import time
def run_cmd(cmd, ignore_error=False):
print("Running command:", cmd)
@@ -42,6 +43,7 @@ def make_test(client, server):
cleanup(client)
cleanup(server)
run_cmd("adb shell \"( %s %s -s ) </dev/null >/dev/null 2>&1 &\"" % (env, server))
+ time.sleep(2)
run_cmd("adb shell %s %s -c" % (env, client))
finally:
cleanup(client)