File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 5
5
[program:xvfb]
6
6
priority=0
7
7
command=/opt/bin/start-xvfb.sh
8
- autostart=true
9
- autorestart=true
8
+ autostart=%(ENV_SE_START_XVFB)s
9
+ autorestart=%(ENV_SE_START_XVFB)s
10
10
killasgroup=true
11
11
12
12
;Logs
@@ -23,8 +23,8 @@ stderr_capture_maxbytes=50MB
23
23
[program:vnc]
24
24
priority=5
25
25
command=/opt/bin/start-vnc.sh
26
- autostart=true
27
- autorestart=true
26
+ autostart=%(ENV_SE_START_VNC)s
27
+ autorestart=%(ENV_SE_START_VNC)s
28
28
killasgroup=true
29
29
30
30
;Logs
@@ -41,8 +41,8 @@ stderr_capture_maxbytes=50MB
41
41
[program:novnc]
42
42
priority=10
43
43
command=/opt/bin/start-novnc.sh
44
- autostart=true
45
- autorestart=true
44
+ autostart=%(ENV_SE_START_NO_VNC)s
45
+ autorestart=%(ENV_SE_START_NO_VNC)s
46
46
killasgroup=true
47
47
48
48
;Logs
Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ def randomly_quit_sessions(sessions, sublist_size):
79
79
session .quit ()
80
80
sessions .remove (session )
81
81
print (f"QUIT: { len (sessions_to_quit )} sessions have been randomly quit." )
82
- return len (sessions_to_quit )
82
+ return len (sessions_to_quit )
83
+ return 0
83
84
84
85
def get_result_file_name ():
85
86
return f"tests/autoscaling_results"
You can’t perform that action at this time.
0 commit comments