Orchestrata Ultimate › Tests › Reference › postman › test_cxp_redis_delivery
Tests reference — tests/postman/test_cxp_redis_delivery.py
Module of tests/postman, split out because the directory page would be too large.
Prose pending.
tests/postman/test_cxp_redis_delivery.py
source · 11 tests · 524 lines
Tests for CXP packet delivery through Redis.
Covers: core.infra_config, core.tracing.traceability, cxp.deterministic_ids, postman.postman, core.packet/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestCXPRedisDelivery |
148 | Tests proving CXP packets flow through Redis queues. |
| method | TestCXPRedisDelivery.test_route_sync_persists_to_thread_audit |
156 | Routed packet appears in Redis thread audit trail. |
| method | TestCXPRedisDelivery.test_route_sync_enqueues_to_delivery_queue |
170 | Unhandled packet stays in Redis delivery queue. |
| method | TestCXPRedisDelivery.test_route_sync_dedup_prevents_duplicate |
182 | Second route of identical packet returns None (dedup). |
| method | TestCXPRedisDelivery.test_route_sync_handler_receives_packet |
193 | Registered handler receives the routed packet. |
| method | TestCXPRedisDelivery.test_route_sync_response_persisted |
219 | Both request and response appear in thread audit. |
| method | TestCXPRedisDelivery.test_get_thread_packets_reads_from_redis |
246 | get_thread_packets returns all packets from Redis. |
| method | TestCXPRedisDelivery.test_route_sync_stamps_deterministic_id |
270 | Routed packet gets a deterministic, non-empty message_id. |
| method | TestCXPRedisDelivery.test_volk_to_volk_communication |
288 | Handler response addressed to another volk is not auto-routed. |
| method | TestCXPRedisDelivery.test_e2e_volk_chain_through_redis |
326 | Full volk chain: HUMAN→Cx→PM→Ar, each hop persisted in Redis. |
| method | TestCXPRedisDelivery.test_redis_required_not_in_memory |
420 | Proves route_sync fails to persist when Redis is unreachable. |
| method | TestCXPRedisDelivery.test_e2e_thread_packets_from_redis_not_memory |
467 | get_thread_packets() reads from Redis, not in-memory fallback. |