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

可以模拟连接超时情况么 #17

Closed
NeverRetrun opened this issue Feb 10, 2022 · 3 comments
Closed

可以模拟连接超时情况么 #17

NeverRetrun opened this issue Feb 10, 2022 · 3 comments
Labels

Comments

@NeverRetrun
Copy link

我还没有开始使用这个软件。

我想做到的是需要模拟大部分软件类似 MySQL、Redis等然后测试代码连接timeout的情况。

我好像没有看到相关的配置,想问一下能不能实现这种测试

@ntestoc3
Copy link
Contributor

请问您的具体使用场景是什么? 是测试tcp连接超时,还是业务连接超时,还是keep-alive超时

@NeverRetrun
Copy link
Author

都有。 大致是这么几块 :

  • 测试 tcp连接超时的情况
  • 一些查询的长时间超时的情况
  • 解析DSN超时的情况

@ntestoc3
Copy link
Contributor

感谢您的意见,目前还不支持这种场景的模拟。

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

No branches or pull requests

2 participants