Skip to content

Commit

Permalink
Revert "One last attempt with a forced delay"
Browse files Browse the repository at this point in the history
This reverts commit 75717d9.
  • Loading branch information
ocelotl committed Jul 3, 2024
1 parent 75717d9 commit d05a892
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions opentelemetry-sdk/tests/trace/export/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
from logging import WARNING
from platform import python_implementation, system
from unittest import mock
from time import sleep

from pytest import mark
from flaky import flaky

from opentelemetry import trace as trace_api
from opentelemetry.context import Context
Expand Down Expand Up @@ -463,10 +461,12 @@ def _target():

span_processor.shutdown()

@flaky(max_runs=3)
@mark.skipif(
python_implementation() == "PyPy" or system() == "Windows",
reason="This test randomly fails with huge delta in Windows with PyPy",
)
def test_batch_span_processor_scheduled_delay(self):
"""Test that spans are exported each schedule_delay_millis"""
sleep(1)
spans_names_list = []

export_event = threading.Event()
Expand Down

0 comments on commit d05a892

Please sign in to comment.