2026-09-04 20:38:01 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# Deterministic recovery gate; live host drills remain separately required.
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
|
|
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
|
|
|
cd "${REPO_ROOT}"
|
|
|
|
|
|
|
|
|
|
PYTHON_BIN="${REIN_CONTRACT_PYTHON:-${REPO_ROOT}/.venv/bin/python}"
|
|
|
|
|
"${PYTHON_BIN}" -c 'import glas_harness.contract, llm_connect, sandboxer.models'
|
|
|
|
|
PYTHONPATH="${REPO_ROOT}:${REPO_ROOT}/../llm-connect" \
|
|
|
|
|
"${PYTHON_BIN}" -m pytest \
|
2026-09-09 20:53:25 +02:00
|
|
|
tests/test_native_limits.py \
|
2026-09-09 17:58:27 +02:00
|
|
|
tests/test_spend_admission.py \
|
2026-09-09 21:50:12 +02:00
|
|
|
tests/test_request_admission.py \
|
2026-09-09 22:24:37 +02:00
|
|
|
tests/test_messages_owner.py \
|
2026-09-09 22:56:38 +02:00
|
|
|
tests/test_owner_bootstrap.py \
|
2026-09-04 20:38:01 +02:00
|
|
|
tests/test_claim_loop.py::test_process_one_initial_heartbeat_rejection_refuses_dispatch \
|
|
|
|
|
tests/test_claim_loop.py::test_process_one_lease_loss_cancels_registered_adapter_process \
|
|
|
|
|
tests/test_claim_loop.py::test_profiled_close_failure_happens_after_repository_lock_release \
|
|
|
|
|
tests/test_claim_loop.py::test_response_lost_close_replays_without_reexecuting_workload \
|
|
|
|
|
tests/test_claim_loop.py::test_pending_close_failure_blocks_new_claim \
|
|
|
|
|
tests/test_claim_loop.py::test_permanent_close_refusal_is_quarantined_before_claim \
|
|
|
|
|
tests/test_repository_transaction.py::test_exception_releases_lock_for_next_transaction \
|
|
|
|
|
tests/test_glas_execution.py::test_profiled_run_refuses_success_if_cancelled_during_gateway \
|
|
|
|
|
-q
|