Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker: Process of xvfb_vnc_novnc start by env variable #2534

Merged
merged 3 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions NodeBase/selenium.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
[program:xvfb]
priority=0
command=/opt/bin/start-xvfb.sh
autostart=true
autorestart=true
autostart=%(ENV_SE_START_XVFB)s
autorestart=%(ENV_SE_START_XVFB)s
killasgroup=true

;Logs
Expand All @@ -23,8 +23,8 @@ stderr_capture_maxbytes=50MB
[program:vnc]
priority=5
command=/opt/bin/start-vnc.sh
autostart=true
autorestart=true
autostart=%(ENV_SE_START_VNC)s
autorestart=%(ENV_SE_START_VNC)s
killasgroup=true

;Logs
Expand All @@ -41,8 +41,8 @@ stderr_capture_maxbytes=50MB
[program:novnc]
priority=10
command=/opt/bin/start-novnc.sh
autostart=true
autorestart=true
autostart=%(ENV_SE_START_NO_VNC)s
autorestart=%(ENV_SE_START_NO_VNC)s
killasgroup=true

;Logs
Expand Down
3 changes: 2 additions & 1 deletion tests/AutoscalingTests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def randomly_quit_sessions(sessions, sublist_size):
session.quit()
sessions.remove(session)
print(f"QUIT: {len(sessions_to_quit)} sessions have been randomly quit.")
return len(sessions_to_quit)
return len(sessions_to_quit)
return 0

def get_result_file_name():
return f"tests/autoscaling_results"
Expand Down
Loading