[grid] Dynamic Grid Docker configure container stop-grace-period#17222
[grid] Dynamic Grid Docker configure container stop-grace-period#17222
Conversation
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Review Summary by QodoMake Docker container stop grace period configurable and add cleanup guarantees
WalkthroughsDescription• Add configurable --docker-stop-grace-period flag for container shutdown timeout • Replace hardcoded stop timeouts (60s browser, 10s video) with configurable grace period • Implement try-finally protection in DockerSession.stop() to prevent container leaks • Add comprehensive unit tests for DockerSession stop behavior and error handling File Changes1. java/src/org/openqa/selenium/grid/node/docker/DockerFlags.java
|
Code Review by Qodo
1. DockerSessionFactory constructor signature changed
|
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
🔗 Related Issues
💥 What does this PR do?
Previously, DockerSession.stop() had two problems:
Change for
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes