mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
[tests] keep OTEL capture on subscriber thread
This commit is contained in:
@@ -710,7 +710,7 @@ async fn turn_and_completed_response_spans_record_token_usage() {
|
||||
);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[tokio::test(flavor = "current_thread")]
|
||||
async fn handle_responses_span_records_response_kind_and_tool_name() {
|
||||
let buffer: &'static Mutex<Vec<u8>> = Box::leak(Box::new(Mutex::new(Vec::new())));
|
||||
let subscriber = tracing_subscriber::fmt()
|
||||
|
||||
Reference in New Issue
Block a user