aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-31 01:09:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-31 01:09:08 +0000
commitd6e3614e517d01c9ec2e3bff4a234d86491f707e (patch)
tree665564272a2c03e0bdd2fc4732faa8f1e5864150
parentfc97324e148529e8f479391647f8df355eaefcf8 (diff)
parentc8f38d3a93a7b86570d9a6d47df2d1b170b0ce11 (diff)
downloadhidl-android-12.1.0_r24.tar.gz
Change-Id: Id21730fdd4d2c4739b3b417b995f840ec5927c2c
-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)