trustgraph/tests/unit/test_base
Cyber MacGeddon 34d87727fc Subscriber resilience: recreate consumer after connection failure
Move consumer creation from Subscriber.start() into the run() loop,
matching the pattern used by Consumer. If the connection drops and the
consumer is closed in the finally block, the loop now recreates it on
the next iteration instead of spinning forever on a None consumer.

Previously, start() created the consumer once and run() assumed it
existed for the lifetime of the subscriber. A connection failure would
set self.consumer = None in the finally cleanup, and the outer retry
loop would re-enter with no consumer, causing an infinite
'NoneType has no attribute receive' error loop.
2026-04-07 12:48:46 +01:00
..
test_async_processor.py Fix tests (#593) 2025-12-19 08:53:21 +00:00
test_async_processor_config.py Config push notify pattern: replace stateful pub/sub with signal+ fetch (#760) 2026-04-06 16:57:27 +01:00
test_cassandra_config.py Basic multitenant support (#583) 2025-12-05 21:45:30 +00:00
test_document_embeddings_client.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_flow_parameter_specs.py More LLM param test coverage (#535) 2025-09-26 01:00:30 +01:00
test_flow_processor.py Config push notify pattern: replace stateful pub/sub with signal+ fetch (#760) 2026-04-06 16:57:27 +01:00
test_llm_service_parameters.py More LLM param test coverage (#535) 2025-09-26 01:00:30 +01:00
test_prompt_client_streaming.py Update to add streaming tests (#600) 2026-01-06 21:48:05 +00:00
test_publisher_graceful_shutdown.py Fix tests (#593) 2025-12-19 08:53:21 +00:00
test_subscriber_graceful_shutdown.py Subscriber resilience: recreate consumer after connection failure 2026-04-07 12:48:46 +01:00