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

hrun 运行测试用了完毕之后,后台python进程仍然占用大量内存,没有退出 #1670

Open
ItTestKing opened this issue Aug 17, 2023 · 2 comments
Labels
pending pending for confirmation

Comments

@ItTestKing
Copy link

问题描述

请对 bug 进行简要描述;
尽量附带运行的命令和报错时的堆栈信息

版本信息

请提供如下版本信息:

  • 操作系统类型: [Windows11]
  • Python 版本: [3.11]
  • Go 版本: [1.18]
  • HttpRunner 版本 [4.3.5]

项目文件内容(非必须)

image

如果可能,提供项目测试用例文件原始内容可加快 bug 定位和修复速度。

提示:请注意在去除项目敏感信息(IP、账号密码、密钥等)后再进行上传。

@ItTestKing ItTestKing added the pending pending for confirmation label Aug 17, 2023
@byzze
Copy link

byzze commented Aug 22, 2023

我linux也遇到了这个问题,测试用例执行完出现了大量的僵尸进程,目前是通过执行完测试用例后,再通过执行命令进行清理ps aux | grep .debugtalk_gen.py | awk '{print $1}' | xargs kill暂时解决了问题

@NQ31
Copy link

NQ31 commented Dec 24, 2023

这个是因为plugin重复注册问题,你改一下源码就可以解决这个问题,具体原因,就是plugin存到map中的key跟查看plugin是否存在(用的key不一致)导致一直注册plugin, 具体方法,可以参考#1720
image

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

No branches or pull requests

3 participants