Skip to main content

Module testing

Module testing 

Source

Functionsยง

acquire_test_state_lock
Serialize tests that mutate process-global telemetry state.
reset_telemetry_state
Reset all telemetry state to keep tests isolated.
reset_trace_context
Clear manual trace context to prevent cross-test leakage.