Skip to content

Commit

Permalink
Docker: Process of xvfb_vnc_novnc start by env variable (#2534)
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 authored Dec 25, 2024
1 parent d4ed4ef commit cfcbf9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
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

0 comments on commit cfcbf9c

Please sign in to comment.