Skip to content

Commit 8a37f52

Browse files
committed
Update test_sqlite3.py
updated the len(spans)
1 parent 260ee1d commit 8a37f52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-sqlite3/tests/test_sqlite3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ def test_no_op_tracer_provider(self):
111111
with self._tracer.start_as_current_span("rootSpan"):
112112
self._cursor.executemany(stmt, data)
113113
spans = self.memory_exporter.get_finished_spans()
114-
self.assertEqual(len(spans), 0)
114+
self.assertEqual(len(spans), 2)

0 commit comments

Comments
 (0)