You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to provide max-sessions parameter in the docker section of the standalone config file
To Reproduce
My grid config looks as follows. Is there a way to limit the number of sessions available for both Firefox and Chrome in the docker section of standalone config file
Running this command java -jar selenium-server-4.0.0-beta-4.jar standalone --config grid.config.toml creates 12 sessions each of Chrome and Firefox with a max concurrency of 4
Just for context, the improvement in the PR will allow to set a max-sessions which can be up to the number of available processors. It won't be possible to go over that number for now. This comment explains that.
🐛 Bug Report
There is no way to provide max-sessions parameter in the docker section of the standalone config file
To Reproduce
My grid config looks as follows. Is there a way to limit the number of sessions available for both Firefox and Chrome in the docker section of standalone config file
Running this command
java -jar selenium-server-4.0.0-beta-4.jar standalone --config grid.config.toml
creates 12 sessions each of Chrome and Firefox with a max concurrency of 4In the file
selenium/java/server/src/org/openqa/selenium/grid/docker/DockerOptions.java
Line 137 in 941dc9c
we have initialised it to the # of availableProcessors
whereas in the file
selenium/java/server/src/org/openqa/selenium/grid/node/config/NodeOptions.java
Line 79 in 941dc9c
we take into consideration the value available in the node section of the config file
Expected behavior
There should be a config to set max-sessions in the docker section
Test script or set of commands reproducing this issue
Environment
Selenium Grid version (if applicable): selenium-server-4.0.0-beta-4
The text was updated successfully, but these errors were encountered: