Files
ComfyAssets-ComfyUI_PromptM…/tests
Vito Sansevero 3c3b981275 test(admin): close the preview worker after the last job in teardown
A scan publishes its last event, which ends the stream the test reads,
before it hands its missing previews to the automatic worker. That
hand-off can run after tearDownAsync closed the worker, so it starts a new
one whose .part files were still open when the final drain checked for
open handles (py3.10 on ubuntu, test_scan_reads_metadata_on_several_threads).
The drain now closes the worker for good once every job has ended.
2026-10-24 18:17:00 -07:00
..