AirtestProject / AirtestProject/Poco

StdPoco 如果需要重启游戏,即便手动重新初始化poco,执行脚本过程中很容易出现rpc 断开连接

Open
#354 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

因为某些脚本逻辑上需要重启游戏,所以脚本中有关闭、重启游戏的动作,目前在重启后重新初始化了StdPoco(),但是发现在后续脚本运行中高概率出现rpc连接断开(wait 方法超时),错误如下:

![image](https://user-images.githubusercontent.com/19771914/75759593-d20cdc80-5d70-11ea-9551-18dde1effd34.png)
求解,是否重新初始化后会影响rpc连接稳定性?面对这种需要重启游戏的需求应该如何解决?

python版本3.6
airtest 版本1.1.2
poco版本 1.0.79

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.