diff options
author | 2018-03-15 15:49:38 +0000 | |
---|---|---|
committer | 2018-03-15 15:49:38 +0000 | |
commit | 2a66809d28c9ee1cbabe52991dbf526095c96c04 (patch) | |
tree | a8acdab32e8d34a42403aa407f85f1a9625be741 | |
parent | a1fb634e37547dc238449678bfa73a0f58ff0eed (diff) | |
parent | 6f7d8b7c79d6d560ca70c22ec572b7a5cc3cb225 (diff) |
Merge "Stop netd before running tests on Buildbot devices."
-rwxr-xr-x | tools/setup-buildbot-device.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/setup-buildbot-device.sh b/tools/setup-buildbot-device.sh index 546a6bf55b..9373c69bf8 100755 --- a/tools/setup-buildbot-device.sh +++ b/tools/setup-buildbot-device.sh @@ -57,6 +57,16 @@ echo -e "${green}Setting local loopback${nc}" adb shell ifconfig lo up adb shell ifconfig +# When netd is running, some libcore and JDWP tests fail with this +# exception (b/74725685): +# +# android.system.ErrnoException: connect failed: EBADMSG (Not a data message) +# +# Turn it off to make these tests pass. +echo -e "${green}Turning off netd${nc}" +adb shell stop netd +adb shell getprop init.svc.netd + echo -e "${green}List properties${nc}" adb shell getprop |