Orchestrata Ultimate › Tests › Reference › orchestrator › test_prolog_worker_parallel

Tests reference — tests/orchestrator/test_prolog_worker_parallel.py

Module of tests/orchestrator, split out because the directory page would be too large.

Prose pending.

tests/orchestrator/test_prolog_worker_parallel.py

source · 3 tests · 143 lines

Behaviour of the janus-swi PrologWorker: engine REUSE + native parallelism.

Covers: orchestrator.prolog_worker

Kind Name Line Description
function test_worker_pins_engine_for_reuse 44 The worker pins a reusable SWI engine; raw janus churns one per call.
function test_worker_flags_each_calling_thread 89 The worker's per-thread pin flag is set the first time a thread runs an op.
function test_governance_goals_run_concurrently_and_correctly 113 Documents janus' native parallelism: 64 recursive goals / 8 threads, all correct.