fix sla bini
This commit is contained in:
@@ -119,7 +119,9 @@ class Carbeat(Challenge):
|
||||
|
||||
def exit(self, proc, timeout=1.):
|
||||
self._read_until(proc, "> ", timeout=timeout)
|
||||
self._send_line(proc, "3")
|
||||
self._send_line(proc, "4")
|
||||
|
||||
|
||||
|
||||
def check(self):
|
||||
self._make_logger()
|
||||
@@ -166,8 +168,8 @@ class Carbeat(Challenge):
|
||||
proc.wait(timeout=2.0)
|
||||
except subprocess.TimeoutExpired:
|
||||
proc.kill()
|
||||
raise AssertionError("Program did not exit after option 3")
|
||||
self.logger.info("[ok] service exit on 3")
|
||||
raise AssertionError("Program did not exit after exit command")
|
||||
self.logger.info("[ok] service exit on exit command")
|
||||
|
||||
proc_alarm = self._spawn()
|
||||
self._read_until(proc_alarm, "zzz", timeout=190.0) # 180s + slack
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ home = /usr/bin
|
||||
include-system-site-packages = false
|
||||
version = 3.12.3
|
||||
executable = /usr/bin/python3.12
|
||||
command = /usr/bin/python3 -m venv /root/wreckitattdef-node/receiver
|
||||
command = /usr/bin/python3 -m venv /root/gemastik18-final/receiver
|
||||
|
||||
Reference in New Issue
Block a user