fix(test): telemetry otlp fixture prevents race conditions contaminating test data

This commit is contained in:
Emilio Garcia 2025-10-30 14:09:44 -04:00
parent 0a6c180631
commit 661bd28e86
2 changed files with 30 additions and 2 deletions

View file

@ -357,8 +357,6 @@ class BaseTelemetryCollector:
return None
def clear(self) -> None:
# prevent race conditions between tests caused by 200ms metric collection interval
time.sleep(0.3)
self._clear_impl()
def _snapshot_spans(self) -> tuple[SpanStub, ...]: # pragma: no cover - interface hook