Skip to content

Commit

Permalink
Skip test case in pypy or windows (open-telemetry#3986)
Browse files Browse the repository at this point in the history
* Skip test case when running in Windows or Pypy

Fixes open-telemetry#3985

* Use pytest-retry on flaky test case

* Remove flaky

* Use flaky instead

* Revert "Use flaky instead"

This reverts commit 4d433d6.

* Revert "Remove flaky"

This reverts commit cc26486.

* Revert "Use pytest-retry on flaky test case"

This reverts commit e96ea89.

* One last attempt with a forced delay

* Revert "One last attempt with a forced delay"

This reverts commit 75717d9.

* Fix comment

* Fix zipp requirements

* Remove flaky
  • Loading branch information
ocelotl committed Jul 11, 2024
1 parent 5dc48c5 commit 7237f78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-sdk/tests/trace/export/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ def _target():
span_processor.shutdown()

@mark.skipif(
python_implementation() == "PyPy" and system() == "Windows",
reason="This test randomly fails with huge delta in Windows with PyPy",
python_implementation() == "PyPy" or system() == "Windows",
reason="This test randomly fails with huge delta in Windows or PyPy",
)
def test_batch_span_processor_scheduled_delay(self):
"""Test that spans are exported each schedule_delay_millis"""
Expand Down

0 comments on commit 7237f78

Please sign in to comment.