Skip to content

Commit 9ace6ea

Browse files
Fix AgentServer Entra tracing test (#48326)
Add the metric_readers argument required by _setup_distro_export so the Entra auth tests match the current helper signature. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0c368201-b3c0-4a22-8311-2c288cbd374c
1 parent 797e6c0 commit 9ace6ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sdk/agentserver/azure-ai-agentserver-core/tests/test_tracing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ def _run(self, env: dict) -> dict:
393393
_tracing._setup_distro_export(
394394
resource=Resource.create({}),
395395
span_processors=[],
396+
metric_readers=[],
396397
log_record_processors=[],
397398
connection_string="InstrumentationKey=00000000-0000-0000-0000-000000000000",
398399
)

0 commit comments

Comments
 (0)