little changes
This commit is contained in:
@@ -136,7 +136,6 @@ class Carbeat(Challenge):
|
|||||||
proc = self._spawn()
|
proc = self._spawn()
|
||||||
self.logger.info("[1] process spawned ✅")
|
self.logger.info("[1] process spawned ✅")
|
||||||
|
|
||||||
# Wait for initial menu to appear with longer timeout
|
|
||||||
self._read_until(proc, "> ", timeout=10.0)
|
self._read_until(proc, "> ", timeout=10.0)
|
||||||
self.logger.info("[1.5] initial menu appeared ✅")
|
self.logger.info("[1.5] initial menu appeared ✅")
|
||||||
|
|
||||||
@@ -176,16 +175,6 @@ class Carbeat(Challenge):
|
|||||||
raise AssertionError("Program did not exit after exit command")
|
raise AssertionError("Program did not exit after exit command")
|
||||||
self.logger.info("[ok] service exit on exit command")
|
self.logger.info("[ok] service exit on exit command")
|
||||||
|
|
||||||
# Skip alarm test during SLA checks (takes 180+ seconds)
|
|
||||||
# proc_alarm = self._spawn()
|
|
||||||
# self._read_until(proc_alarm, "zzz", timeout=190.0) # 180s + slack
|
|
||||||
# try:
|
|
||||||
# proc_alarm.wait(timeout=5.0)
|
|
||||||
# except subprocess.TimeoutExpired:
|
|
||||||
# proc_alarm.kill()
|
|
||||||
# raise AssertionError("Alarm fired but process did not exit")
|
|
||||||
# self.logger.info("[ok] alarm fired ('zzz') and process self-terminated")
|
|
||||||
|
|
||||||
self.logger.info('Check passed for carbeat')
|
self.logger.info('Check passed for carbeat')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user