We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3270f41 commit 56bb251Copy full SHA for 56bb251
1 file changed
tests/integration/server/test_graphql_query.py
@@ -3,6 +3,7 @@
3
# test query from graphql endpoint
4
5
import asyncio
6
+import os
7
import uuid
8
from datetime import datetime, timedelta
9
@@ -419,8 +420,9 @@ async def test_query_single_run():
419
420
421
# Force flush spans to ClickHouse
422
from opentelemetry import trace
423
+
424
tracer_provider = trace.get_tracer_provider()
- if hasattr(tracer_provider, 'force_flush'):
425
+ if hasattr(tracer_provider, "force_flush"):
426
tracer_provider.force_flush()
427
428
# Wait a bit for spans to be written to ClickHouse
0 commit comments