-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Selenium 3.0.0-beta3 node maxSession = 1 causes hub registration of default 5 instead of 1 #2727
Comments
Related: setting hub maxSession = 1 results in maxSession being 1 (and for values >= 1). |
Thanks @james-crocker. I've seen this and similar issues. Will look into it. |
@lukeis The issue here is two-fold;
I have a pending change set but need sync up with you at greater detail on the second part. I believe it is the root of this and other similar issues. Furthermore, I believe we should revert to 2.x behavior |
- Revert BaseRemoteProxy configuration load behavior to Sel 2.x logic (seed from registry, then overlap with the remote request) - Combine -jettyThreads (hidden, used by standalone and node) and -jettyMaxThreads (not hidden, used by hub) into -jettyMaxThreads which is NOT hidden and is used by standalone, node, and hub Additional changes; - Fix for 'id' which should have a default value applied (according to its usage doc) - new GridHubConfiguration() - the role should always be "hub" - new GridNodeConfiguration() - the role should always be "node" - Configuration merge() behavior update/change; - don't merge null 'other' values (pre-existing) - don't merge empty collections or maps (new) - Add tests
Meta -
OS: Windows 10
Selenium Version:
3.0.0-beta3 node (win10) and 3.0.0-beta3 hub (linux)
Browser:
all
Browser Version:
any
Expected Behavior -
Setting node maxSession = 1 should restrict node's active sessions to one.
Actual Behavior -
Setting node maxSession = 1 via command line argument or json causes registration at hub to be 5. Consequently the hub will spawn 5 concurrent sessions. Setting to maxSession = 2 or higher registers correctly on the hub.
Steps to reproduce -
Set -maxSession 1 or in json configuration "maxSession": 1 causes registration at hub of maxSession: 5. Unregister node, set maxSession to 2 and registration correctly sets 2 and honors that value.
The text was updated successfully, but these errors were encountered: