From 7e98bcc24346d205134ec427f9b0f39f263a32ff Mon Sep 17 00:00:00 2001 From: Rayhan Hanaputra Date: Sat, 25 Oct 2025 23:16:50 +0700 Subject: [PATCH] fix sla bini --- receiver/challenges/Carbeat.py | 8 +++++--- receiver/pyvenv.cfg | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/receiver/challenges/Carbeat.py b/receiver/challenges/Carbeat.py index 914d8a6..eb5c9cd 100644 --- a/receiver/challenges/Carbeat.py +++ b/receiver/challenges/Carbeat.py @@ -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 diff --git a/receiver/pyvenv.cfg b/receiver/pyvenv.cfg index 10481c5..213ae54 100644 --- a/receiver/pyvenv.cfg +++ b/receiver/pyvenv.cfg @@ -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