-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[py] Remove support for GLOBAL_DEFAULT_TIMEOUT environment variable #15673
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
[py] Remove support for GLOBAL_DEFAULT_TIMEOUT environment variable #15673
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to aeedba1
Previous suggestions✅ Suggestions up to commit b4cd3f0
|
User description
🔗 Related Issues
Fixes #15604
Supersedes #15628
💥 What does this PR do?
This PR remove support for GLOBAL_DEFAULT_TIMEOUT environment variable (which is currently not working anyway).
I also added a test to verify that you can set the HTTP client timeout on
webdriver.Remote
. This doesn't currently work for other drivers (see: #15672)🔄 Types of changes
PR Type
Bug fix, Tests
Description
Remove support for GLOBAL_DEFAULT_TIMEOUT environment variable
Update timeout logic to use socket default only
Add test verifying HTTP client timeout in Remote WebDriver
Improve test skipping logic for remote driver tests
Changes walkthrough 📝
client_config.py
Remove GLOBAL_DEFAULT_TIMEOUT and simplify timeout logic
py/selenium/webdriver/remote/client_config.py
remote_connection.py
Remove GLOBAL_DEFAULT_TIMEOUT from RemoteConnection
py/selenium/webdriver/remote/remote_connection.py
remote_connection_tests.py
Add test for Remote WebDriver HTTP timeout
py/test/selenium/webdriver/remote/remote_connection_tests.py
conftest.py
Improve remote test skipping in firefox_options fixture
py/conftest.py
drivers