fix(tests): fix remaining test issues and update assertions
This commit is contained in:
@@ -41,7 +41,11 @@ class TestOrchestrator:
|
||||
result = asyncio.get_event_loop().run_until_complete(
|
||||
orchestrator.run_fio("/dev/sda")
|
||||
)
|
||||
job_id = result.job_id
|
||||
# result is the output path, job_id is derived from it
|
||||
job_id = f"fio_{result.stem.split('_')[-1]}"
|
||||
# Get the actual job_id from the jobs dict
|
||||
jobs = orchestrator.list_jobs()
|
||||
job_id = list(jobs.keys())[0]
|
||||
|
||||
job = orchestrator.get_job_status(job_id)
|
||||
assert job is not None
|
||||
|
||||
Reference in New Issue
Block a user