Private
Public Access
0
0

test(io_pool): update assertion for 8-worker pool size

This commit is contained in:
2026-06-08 17:51:39 -04:00
parent 4a33848620
commit 87d7c5bff2
+3 -3
View File
@@ -1,4 +1,4 @@
"""Tests for src/io_pool.py (the shared 4-thread job pool on AppController).
"""Tests for src/io_pool.py (the shared 8-thread job pool on AppController).
Historical note: an earlier revision of this file added two regression
tests asserting that ``make_io_pool`` registered an atexit shutdown
@@ -27,9 +27,9 @@ def test_make_io_pool_returns_thread_pool_executor() -> None:
pool.shutdown(wait=False)
def test_make_io_pool_has_four_workers() -> None:
def test_make_io_pool_has_eight_workers() -> None:
pool = make_io_pool()
assert pool._max_workers == IO_POOL_MAX_WORKERS == 4
assert pool._max_workers == IO_POOL_MAX_WORKERS == 8
pool.shutdown(wait=False)