Added timeout and limit to script entries

This commit is contained in:
Niels Geens
2024-11-13 17:48:39 +01:00
parent 65478e0b17
commit 834ce12e8f
21 changed files with 262 additions and 141 deletions

View File

@@ -27,7 +27,7 @@ class StopCommandTest(unittest.TestCase):
def test_stop_command_cleanup(self):
"""Test stop command cleans up and removes all entries"""
# Add background process
entry = BackgroundEntry("sleep 10", "test-id", self.test_timestamp)
entry = BackgroundEntry("test-id", self.test_timestamp, "sleep 10")
self.memory.add_entry(entry)
# Wait for process to start and get PID