Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC端没有正常关闭server,下次在测试之前先执行关闭动作会导致无法响应shell命令 #29

Open
bingosam opened this issue Mar 31, 2017 · 1 comment

Comments

@bingosam
Copy link

bingosam commented Mar 31, 2017

在PC上执行:
adb shell am instrument -w com.github.uiautomator.test/android.support.test.runner.AndroidJUnitRunner
拔掉设备后再连接上PC,此时uiautomator进程还在。
shell@scorpio:/ $ ps|grep uiautomator u0_a105 1123 670 1617460 63816 SyS_epoll_ 0000000000 S com.github.uiautomator

此时重新forward端口后,调用stop api:http://127.0.0.1:9008/stop会导致shell卡死

@bingosam bingosam changed the title PC端没有正常关闭server,下次在测试之前先执行关闭动作会导致无法相应shell命令 PC端没有正常关闭server,下次在测试之前先执行关闭动作会导致无法响应shell命令 Mar 31, 2017
@Michaelbest1
Copy link

我也发现这个问题了。并且这个问题在Linux上不会出现。
在Windows上用的时候每次都要重启cmd,好蛋疼。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants