Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/ert/unit_tests/scheduler/test_openpbs_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,10 @@ async def test_that_queue_system_can_kill_before_scheduler_with_negative_padding
stdout_content: dict[str, dict] = json.loads(stdout.decode(errors="ignore"))
job = stdout_content.get("Jobs", {}).get(job_id, {})
assert job is not None, "Job not found in qstat output"
assert job.get("job_state") == "F", "The job was not marked as failed"
job_state = job.get("job_state")
assert job_state in {"E", "F"}, (
f"Expected job state to be 'E' (exiting) or 'F' (failed), got {job_state}"
)
assert job.get("Resource_List", {}).get("walltime") == "00:00:00", (
"Wall time was not propagated correctly"
)
Expand Down
Loading