mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 18:13:44 +00:00
fix(test): telemetry otlp fixture prevents race conditions contaminating test data
This commit is contained in:
parent
0a6c180631
commit
661bd28e86
2 changed files with 30 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue