test_readPayloadKeepAlive

Payload views must retain their storage independently of the original reader.

test_readPayloadKeepAlive.test_cached_message_payload_cycle_is_collected(message_type)[source]

A message caching its own payload must not prevent cycle collection.

test_readPayloadKeepAlive.test_cached_reader_payload_cycle_is_collected(source_type, release_action)[source]

A cached reader payload becomes collectible after the subscription ends.

test_readPayloadKeepAlive.test_message_read_retains_live_payload(message_type, payload_type, field, value_type)[source]

Reads preserve a live view and release the source with the last payload.

test_readPayloadKeepAlive.test_raw_address_reader_with_explicit_source_owner()[source]

An address-based reader still works while the caller owns its source.

test_readPayloadKeepAlive.test_reader_and_payload_retain_source_independently(source_type, release_action)[source]

The source survives until both the reader and its payload release it.

test_readPayloadKeepAlive.test_unconnected_reader_preserves_error()[source]

An unconnected read still reports a Basilisk error.