fix sla bini

This commit is contained in:
Rayhan Hanaputra
2025-10-25 23:16:50 +07:00
parent 91825c2c0d
commit 7e98bcc243
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -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
View File
@@ -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