File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
opentelemetry-sdk/tests/trace/export Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1919import unittest
2020from concurrent .futures import ThreadPoolExecutor
2121from logging import WARNING
22- from platform import python_implementation
22+ from platform import python_implementation , system
2323from unittest import mock
2424
25- from flaky import flaky
25+ from pytest import mark
2626
2727from opentelemetry import trace as trace_api
2828from opentelemetry .context import Context
@@ -442,6 +442,10 @@ def test_batch_span_processor_scheduled_delay(self):
442442
443443 span_processor .shutdown ()
444444
445+ @mark .skipif (
446+ python_implementation () == "PyPy" and system () == "Windows" ,
447+ reason = "This test randomly fails in Windows with PyPy" ,
448+ )
445449 def test_batch_span_processor_reset_timeout (self ):
446450 """Test that the scheduled timeout is reset on cycles without spans"""
447451 spans_names_list = []
@@ -480,11 +484,6 @@ def test_batch_span_processor_reset_timeout(self):
480484
481485 span_processor .shutdown ()
482486
483- if python_implementation () == "PyPy" :
484- test_batch_span_processor_reset_timeout = flaky (
485- max_runs = 2 , min_passes = 1
486- )(test_batch_span_processor_reset_timeout )
487-
488487 def test_batch_span_processor_parameters (self ):
489488 # zero max_queue_size
490489 self .assertRaises (
You can’t perform that action at this time.
0 commit comments