Skip to content

Commit

Permalink
Added support for modifying grid configuration option throwOnCapabili…
Browse files Browse the repository at this point in the history
…tyNotPresent
  • Loading branch information
jarspi committed Nov 25, 2016
1 parent 31fbe36 commit 00fa926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Hub/Dockerfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ MAINTAINER Selenium <[email protected]>

EXPOSE 4444

ENV GRID_THROW_ON_CAPABILITY_NOT_PRESENT true
ENV GRID_NEW_SESSION_WAIT_TIMEOUT -1
ENV GRID_JETTY_MAX_THREADS -1
ENV GRID_NODE_POLLING 5000
Expand Down
2 changes: 1 addition & 1 deletion Hub/generate_config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "
\"port\": 4444,
\"prioritizer\": null,
\"capabilityMatcher\": \"org.openqa.grid.internal.utils.DefaultCapabilityMatcher\",
\"throwOnCapabilityNotPresent\": true,
\"throwOnCapabilityNotPresent\": $GRID_THROW_ON_CAPABILITY_NOT_PRESENT,
\"newSessionWaitTimeout\": $GRID_NEW_SESSION_WAIT_TIMEOUT,
\"jettyMaxThreads\": $GRID_JETTY_MAX_THREADS,
\"nodePolling\": $GRID_NODE_POLLING,
Expand Down

0 comments on commit 00fa926

Please sign in to comment.