Orchestrata Ultimate › Tests › Reference › scripts › test_orchestrata_kernel_ready
Tests reference — tests/scripts/test_orchestrata_kernel_ready.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_orchestrata_kernel_ready.py
source · 15 tests · 336 lines
Tests for deploy/orchestrata-test/orchestrata-kernel-ready.py — the CXP
Covers: cxp.direct_cxp_adapter
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_script_file_exists |
68 | |
| function | test_closed_port_returns_nonzero_within_configured_timeout |
72 | The core contract: against a kernel that is not up, main() must exit |
| function | test_closed_port_retries_until_the_deadline_not_once |
98 | A single fast failure returning immediately would also satisfy |
| function | test_closed_port_never_exits_zero |
126 | Exit 0 must mean a real health_check() succeeded — it must never be |
| function | test_missing_port_config_fails_fast_without_waiting |
151 | No CXP_GRPC_PORT / CXP_GRPC_ENDPOINT at all is a configuration error, |
| function | test_invalid_argv_timeout_fails_fast |
163 | An unparseable positional timeout argument is a usage error, not a |
| function | test_argv_timeout_overrides_env_timeout |
174 | argv[0], when given, wins over KERNEL_READY_TIMEOUT_SECONDS — the |
| function | test_default_timeout_constants_are_positive_and_ordered |
194 | Sanity-check the production defaults documented in the module |
| class | TestProbeIsActuallyWiredIntoTheUnit |
207 | The probe existing is not the fix -- the fix is the gateway WAITING on it. |
| method | TestProbeIsActuallyWiredIntoTheUnit.test_unit_file_exists |
231 | |
| method | TestProbeIsActuallyWiredIntoTheUnit.test_gateway_waits_on_the_kernel_readiness_probe |
234 | |
| method | TestProbeIsActuallyWiredIntoTheUnit.test_the_readiness_gate_is_fatal_not_advisory |
245 | |
| method | TestProbeIsActuallyWiredIntoTheUnit.test_start_timeout_accommodates_the_probe |
256 | |
| method | TestProbeIsActuallyWiredIntoTheUnit.test_the_probe_referenced_by_the_unit_exists_on_disk |
263 | |
| class | TestSuccessPath |
284 | The exit-0 path — the one that actually gates the gateway starting. |
| method | TestSuccessPath.test_returns_zero_against_a_real_serving_kernel |
294 | |
| method | TestSuccessPath.test_a_closed_port_on_the_same_harness_still_fails |
328 | Control: the success above is not the harness always returning 0. |