Added timeout and limit to script entries
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user