aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-08-27 06:21:38 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-08-27 06:21:38 +0000
commit0bc0db987d4fada4ffefaff3865992c1f6778770 (patch)
tree665564272a2c03e0bdd2fc4732faa8f1e5864150
parent04d597b23a6d44777a1932e7310035b18b892b4a (diff)
parentb4f1c7643dcfa289d56338bd639b4deb40850bae (diff)
downloadhidl-android-mainline-12.0.0_r9.tar.gz
Change-Id: Id6f96cef4c00e984b6342d698bf13ce9b8c2cec2
-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)