Files
ComfyAssets-ComfyUI_PromptM…/tests
Vito Sansevero 79f8ac5603 test(lora): hold the import job before cancelling it (#575)
The cancel-at-start test cancelled right after the 202 and assumed the job
was still staging. On a slow runner the job had already passed staging,
where it stops being cancellable, so the registry refused the cancel and
the job truthfully finished. The product was right; the test raced it.

Replace it with three held tests: a cancel while a download is held ends
cancelled with nothing written; a cancel accepted after staging returned
but before the job resumes still ends cancelled with nothing written; a
cancel sent while the commit is held is refused (cancellation_requested
false) and the job ends finished with the import written.
2026-10-31 22:30:25 -07:00
..