diff --git a/tests/test_ticker.py b/tests/test_ticker.py index 51706a1..db2f7bb 100644 --- a/tests/test_ticker.py +++ b/tests/test_ticker.py @@ -466,9 +466,9 @@ class TestCheckTimeoutsUnified: for i in range(3): attempt_time = datetime.utcnow() - timedelta(minutes=25 - i * 5) conn.execute( - "INSERT INTO task_attempts (id, task_id, agent_id, outcome, created_at) " + "INSERT INTO task_attempts (task_id, attempt_number, agent, outcome, started_at) " "VALUES (?, ?, ?, ?, ?)", - (f"attempt-{i}", "t-crash", "agent-a", "crashed", + ("t-crash", i + 1, "agent-a", "crashed", attempt_time.isoformat()), ) conn.commit()