Orchestrata Ultimate › Tests › Reference › agents › test_pool
Tests reference — tests/agents/test_pool.py
Module of tests/agents, split out because the directory page would be too large.
Prose pending.
tests/agents/test_pool.py
source · 25 tests · 358 lines
Covers: agents.exceptions, agents.pool, agents.runtime, agents.types, agents.volk_registry
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestPoolConfig |
96 | |
| method | TestPoolConfig.test_get_config_returns_default_on_first_access |
97 | |
| method | TestPoolConfig.test_get_config_returns_same_instance |
104 | |
| method | TestPoolConfig.test_set_pool_config_stores |
110 | |
| method | TestPoolConfig.test_set_pool_config_overrides_previous |
118 | |
| class | TestAcquire |
129 | |
| method | TestAcquire.test_acquire_spawns_when_empty |
131 | |
| method | TestAcquire.test_acquire_returns_ready_instance_when_available |
138 | |
| method | TestAcquire.test_acquire_spawns_when_all_busy_under_capacity |
145 | |
| method | TestAcquire.test_acquire_raises_when_exhausted |
154 | |
| method | TestAcquire.test_acquire_accepts_task_argument |
164 | |
| method | TestAcquire.test_acquire_wraps_spawn_failure_in_pool_scale_error |
170 | |
| class | TestRelease |
191 | |
| method | TestRelease.test_release_marks_instance_ready |
193 | |
| method | TestRelease.test_release_unknown_is_noop |
202 | |
| class | TestPoolStatus |
212 | |
| method | TestPoolStatus.test_empty_pool_status |
214 | |
| method | TestPoolStatus.test_counts_ready_busy_draining |
225 | |
| method | TestPoolStatus.test_utilization_calculation |
240 | |
| class | TestScale |
259 | |
| method | TestScale.test_scale_to_spawns_instances |
261 | |
| method | TestScale.test_scale_to_clamps_to_max |
266 | |
| method | TestScale.test_scale_to_clamps_to_min |
272 | |
| method | TestScale.test_scale_to_terminates_idle_instances |
280 | |
| method | TestScale.test_scale_to_no_change |
289 | |
| method | TestScale.test_scale_down_only_terminates_ready_not_busy |
295 | |
| method | TestScale.test_scale_up_logs_warning_on_spawn_failure |
307 | |
| method | TestScale.test_scale_down_handles_terminate_error |
330 | |
| class | TestAgentPoolAlias |
350 | |
| method | TestAgentPoolAlias.test_alias_is_subclass |
351 | |
| method | TestAgentPoolAlias.test_alias_behaves_identically |
355 |