Skip to content

Commit 9453505

Browse files
authored
fix: Rejecting message without a valid secret in session-map
Fix: #2320
1 parent 0bb07ef commit 9453505

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sessions/start-selenium-grid-sessions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ if [ ! -z "$SE_JAVA_SSL_TRUST_STORE" ]; then
6363
SE_JAVA_OPTS="$SE_JAVA_OPTS -Djdk.internal.httpclient.disableHostnameVerification=${SE_JAVA_DISABLE_HOSTNAME_VERIFICATION:-true}"
6464
fi
6565

66+
if [ ! -z "$SE_REGISTRATION_SECRET" ]; then
67+
echo "Appending Selenium options: --registration-secret ${SE_REGISTRATION_SECRET}"
68+
SE_OPTS="$SE_OPTS --registration-secret ${SE_REGISTRATION_SECRET}"
69+
fi
70+
6671
EXTRA_LIBS=""
6772

6873
if [ "$SE_ENABLE_TRACING" = "true" ]; then

0 commit comments

Comments
 (0)