Skip to content

Commit

Permalink
Merge branch 'main' into sync-gauge-prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl authored Feb 5, 2024
2 parents 0549d48 + b696c3b commit 85c9e37
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions opentelemetry-sdk/tests/trace/test_span_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@
import time
import typing
import unittest
from platform import python_implementation, system
from threading import Event
from typing import Optional
from unittest import mock

from pytest import mark

from opentelemetry import trace as trace_api
from opentelemetry.context import Context
from opentelemetry.sdk import trace
Expand Down Expand Up @@ -266,6 +269,10 @@ def create_multi_span_processor(
) -> trace.ConcurrentMultiSpanProcessor:
return trace.ConcurrentMultiSpanProcessor(3)

@mark.skipif(
python_implementation() == "PyPy" and system() == "Windows",
reason="This test randomly fails in Windows with PyPy",
)
def test_force_flush_late_by_timeout(self):
multi_processor = trace.ConcurrentMultiSpanProcessor(5)
wait_event = Event()
Expand Down

0 comments on commit 85c9e37

Please sign in to comment.