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

test: add e2e testing base on docker compose #30

Merged
merged 9 commits into from
Jun 20, 2024

Conversation

LinuxSuRen
Copy link
Contributor

close #27

@lijiahangmax
Copy link
Collaborator

提交到 dev 分支吧

@LinuxSuRen LinuxSuRen changed the base branch from main to dev June 20, 2024 02:24
@lijiahangmax
Copy link
Collaborator

lijiahangmax commented Jun 20, 2024

image

orion-visor-service:
healthcheck:

       可以换成这个, 这个是后端服务的健康检测, 后端是nohup启动的, 可能执行testing时, 后端服务还未起来
       http://127.0.0.1:9200/orion-visor/api/server/bootstrap/health
       {"code":200,"msg":"success","data":"ok"}

@LinuxSuRen
Copy link
Contributor Author

一般情况需要多久后端能启动成功呢

@lijiahangmax
Copy link
Collaborator

一般是1min就可以启动 慢点的话2min 应该不会再多了

@LinuxSuRen
Copy link
Contributor Author

根据 http://127.0.0.1:9119/orion-visor/api/server/bootstrap/health 做健康检查,3 分钟都无法启动呀,是不是哪里有问题了

@lijiahangmax
Copy link
Collaborator

抱歉抱歉 刚刚搞错项目了 应该是这个才对
curl -X GET --location "http://127.0.0.1:9200/orion-visor/api/server/bootstrap/health"

我看你这边已经改了 可以正常运行了 谢谢你

@lijiahangmax lijiahangmax merged commit f9e436e into dromara:dev Jun 20, 2024
1 check passed
@LinuxSuRen LinuxSuRen deleted the e2e branch June 20, 2024 03:32
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

Successfully merging this pull request may close these issues.

请问,是否需要帮忙实现接口 e2e 测试
2 participants