Grid 4. Unable to limit number of maxSession within single node via passing NODE_MAX_SESSION=3 either on hub or node level.
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-20201009docker 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": [MAX_SESSION=3
OS: Windows 10
Browser: Chrome
Selenium Grid version (if applicable): 4.0.0
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.
Hey, any updates on this?
This was already fixed and released. Please check the most recent release.
Most helpful comment
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.