Skip to content

Commit

Permalink
Merge pull request #336 from finspin/throw-on-capability-not-present-…
Browse files Browse the repository at this point in the history
…variable

Added support for modifying grid configuration option throwOnCapabili…
  • Loading branch information
ddavison authored Dec 13, 2016
2 parents 31fbe36 + 00fa926 commit 0b734ab
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 0b734ab

Please sign in to comment.