Skip to content

Commit ffec57e

Browse files
authored
Remove flags for event-bus in start-selenium-grid-session-queue.sh after removal in 4.5.0 (SeleniumHQ#1692)
Removed event bus, not used in 4.5.0 Event bus role was removed from session queue in this commit - SeleniumHQ/selenium@4b19fa4 Launching with the flags still in place causes an error and does not allow queue to start
1 parent cd9c8a5 commit ffec57e

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

SessionQueue/start-selenium-grid-session-queue.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,6 @@ set -e
55

66
echo "Starting Selenium Grid SessionQueue..."
77

8-
if [[ -z "${SE_EVENT_BUS_HOST}" ]]; then
9-
echo "SE_EVENT_BUS_HOST not set, exiting!" 1>&2
10-
exit 1
11-
fi
12-
13-
if [[ -z "${SE_EVENT_BUS_PUBLISH_PORT}" ]]; then
14-
echo "SE_EVENT_BUS_PUBLISH_PORT not set, exiting!" 1>&2
15-
exit 1
16-
fi
17-
18-
if [[ -z "${SE_EVENT_BUS_SUBSCRIBE_PORT}" ]]; then
19-
echo "SE_EVENT_BUS_SUBSCRIBE_PORT not set, exiting!" 1>&2
20-
exit 1
21-
fi
22-
238
if [ ! -z "$SE_OPTS" ]; then
249
echo "Appending Selenium options: ${SE_OPTS}"
2510
fi
@@ -35,8 +20,6 @@ if [ ! -z "$SE_SESSION_QUEUE_PORT" ]; then
3520
fi
3621

3722
java ${JAVA_OPTS:-$SE_JAVA_OPTS} -jar /opt/selenium/selenium-server.jar sessionqueue \
38-
--publish-events tcp://"${SE_EVENT_BUS_HOST}":${SE_EVENT_BUS_PUBLISH_PORT} \
39-
--subscribe-events tcp://"${SE_EVENT_BUS_HOST}":${SE_EVENT_BUS_SUBSCRIBE_PORT} \
4023
--session-request-timeout ${SE_SESSION_REQUEST_TIMEOUT} \
4124
--session-retry-interval ${SE_SESSION_RETRY_INTERVAL} \
4225
--bind-host ${SE_BIND_HOST} \

0 commit comments

Comments
 (0)