Skip to content

Commit c761ad7

Browse files
committed
Fix
1 parent ffc8592 commit c761ad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/promptflow/tests/executor/e2etests/test_telemetry.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ def test_executor_openai_telemetry_with_batch_run(self, dev_connections):
155155
assert "ms-azure-ai-promptflow-scenario" not in promptflow_headers
156156
assert promptflow_headers.get("run_mode") == RunMode.Batch.name
157157
assert promptflow_headers.get("flow_id") == "default_flow_id"
158-
assert promptflow_headers.get("root_run_id") == run_id
158+
if not pytest.is_replay:
159+
assert promptflow_headers.get("root_run_id") == run_id
159160
assert promptflow_headers.get("batch_input_source") == "Data"
160161
assert promptflow_headers.get("dummy_key") == "dummy_value"

0 commit comments

Comments
 (0)