Skip to content

Commit

Permalink
feat(chart): Enable HTTPS on distributed components (#2087)
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 authored Jan 10, 2024
1 parent 6eca337 commit 0a8e23d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions SessionQueue/start-selenium-grid-session-queue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ if [ ! -z "$SE_JAVA_SSL_TRUST_STORE" ]; then
SE_JAVA_OPTS="$SE_JAVA_OPTS -Djdk.internal.httpclient.disableHostnameVerification=${SE_JAVA_DISABLE_HOSTNAME_VERIFICATION:-true}"
fi

if [ ! -z "$SE_REGISTRATION_SECRET" ]; then
echo "Appending Selenium options: --registration-secret ${SE_REGISTRATION_SECRET}"
SE_OPTS="$SE_OPTS --registration-secret ${SE_REGISTRATION_SECRET}"
fi

EXTRA_LIBS=""

if [ ! -z "$SE_ENABLE_TRACING" ]; then
Expand Down
4 changes: 3 additions & 1 deletion tests/SeleniumTests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ def run(self, test_classes):
for test in suite:
futures.append(executor.submit(test))
for future in concurrent.futures.as_completed(futures):
future.result()
result = future.result()
if not result.wasSuccessful():
raise Exception("Parallel tests failed")

class JobAutoscalingTests(unittest.TestCase):
def test_parallel_autoscaling(self):
Expand Down

0 comments on commit 0a8e23d

Please sign in to comment.