Skip to content

Commit

Permalink
correct (as in backend testing) autotester supervisor service conf
Browse files Browse the repository at this point in the history
  • Loading branch information
vkotronis committed Oct 26, 2019
1 parent 8843d2d commit 94fd7dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions autoconf-tester/supervisor.d/services.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
port = 0.0.0.0:9001

[eventlistener:listener]
command=/usr/local/bin/python %(program_name)s.py
command=coverage run -a %(program_name)s.py
directory=/root/core
priority=999
process_name=%(program_name)s
Expand All @@ -20,7 +20,7 @@ directory=/root/core
umask=022
autostart=true
autorestart=unexpected
startsecs=1
startsecs=10
startretries=3
exitcodes=0,2
stopsignal=INT
Expand All @@ -32,14 +32,14 @@ stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0

[program:observer]
command=/usr/local/bin/python %(program_name)s.py
command=coverage run -a %(program_name)s.py
process_name=%(program_name)s
numprocs=1
directory=/root/core
umask=022
autostart=true
autorestart=unexpected
startsecs=1
startsecs=10
startretries=3
exitcodes=0,2
stopsignal=INT
Expand All @@ -51,14 +51,14 @@ stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0

[program:clock]
command=/usr/local/bin/python scheduler.py
command=coverage run -a scheduler.py
process_name=%(program_name)s
numprocs=1
directory=/root/core
umask=022
autostart=true
autorestart=unexpected
startsecs=1
startsecs=10
startretries=3
exitcodes=0,2
stopsignal=INT
Expand All @@ -77,7 +77,7 @@ directory=/root/core
umask=022
autostart=true
autorestart=unexpected
startsecs=1
startsecs=10
startretries=3
exitcodes=0,2
stopsignal=INT
Expand All @@ -96,7 +96,7 @@ directory=/root/core
umask=022
autostart=false
autorestart=unexpected
startsecs=1
startsecs=10
startretries=3
exitcodes=0,2
stopsignal=INT
Expand All @@ -115,7 +115,7 @@ directory=/root/core
umask=022
autostart=false
autorestart=unexpected
startsecs=1
startsecs=10
startretries=3
exitcodes=0,2
stopsignal=INT
Expand Down
1 change: 0 additions & 1 deletion autoconf-tester/tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ def test(self):
self.config_exchange, connection.default_channel
)

time.sleep(10)
# query database for the states of the processes
db_con = self.getDbConnection()
db_cur = db_con.cursor()
Expand Down

0 comments on commit 94fd7dd

Please sign in to comment.