-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Grid 4. Unable to limit number of maxSession within node via passing NODE_MAX_SESSION=3 #1128
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
Comments
I am still experiencing the same issue, and nothing works. The "maxSessions" variable is always set up at 2. Tested on firefox and chrome. I'm using the docker-compose-v3-full-grid.yml file. |
I am facing the same issue from my side. |
I just fixed this in the main repository, and it will be released in the next couple of days. Please keep an eye on the releases for this repo. |
It is already in the code then the option is retrieved, but additionally it means that it was taking precedence over the value configured on the `config.toml`. This fixes SeleniumHQ/docker-selenium#1128
Hey, any updates on this? |
This was already fixed and released. Please check the most recent release. |
🐛 Bug Report
Grid 4. Unable to limit number of maxSession within single node via passing NODE_MAX_SESSION=3 either on hub or node level.
To Reproduce
Detailed steps to reproduce the behavior:
docker run -d -p 4442-4444:4442-4444 -e NODE_MAX_SESSION=3 -e NODE_MAX_INSTANCES=1 -e GRID_MAX_SESSION=5 --net grid --name selenium-hub selenium/hub:4.0.0-alpha-7-prerelease-20201009
docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub -e SE_EVENT_BUS_PUBLISH_PORT=4442 -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 -e NODE_MAX_SESSION=3 -e NODE_MAX_INSTANCES=1 -v /dev/shm:/dev/shm selenium/node-chrome:4.0.0-alpha-7-prerelease-20201009
"value": { "ready": true, "message": "Selenium Grid ready.", "nodes": [ { "id": "a07dfee7-5136-4753-beb6-53c791536c83", "uri": "http:\u002f\u002f172.22.0.3:5555", "maxSessions": 4, "slots": [
Expected behavior
MAX_SESSION=3
Environment
OS: Windows 10
Browser: Chrome
Selenium Grid version (if applicable): 4.0.0
The text was updated successfully, but these errors were encountered: