Skip to content

Commit dbd54ff

Browse files
committed
Respond to comments
1 parent d17cf1d commit dbd54ff

File tree

2 files changed

+3
-83
lines changed

2 files changed

+3
-83
lines changed

instrumentation-genai/opentelemetry-instrumentation-vertexai/tests/test_function_calling_experimental.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
import time
23
from typing import Any
34

45
import fsspec
@@ -271,6 +272,8 @@ def test_tool_events_with_completion_hook(
271272
assert len(spans) == 1
272273
logs = log_exporter.get_finished_logs()
273274
assert len(logs) == 1
275+
# File upload takes a few seconds sometimes.
276+
time.sleep(3)
274277
assert_fsspec_equal(
275278
spans[0].attributes["gen_ai.output.messages_ref"],
276279
[

tests/cassettes/test_tool_events_no_content.yaml

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)