diff --git a/tests/contrib/botocore/test.py b/tests/contrib/botocore/test.py index 39f6c2a278f..a30a386c93c 100644 --- a/tests/contrib/botocore/test.py +++ b/tests/contrib/botocore/test.py @@ -1199,6 +1199,7 @@ def test_schematized_unspecified_service_sqs_client_v1(self): assert spans[2].name == "aws.sqs.receive" @mock_stepfunctions + @pytest.mark.xfail(reason="Failed to start or connect to state machine") def test_stepfunctions_send_start_execution_trace_injection(self): sf = self.session.create_client("stepfunctions", region_name="us-west-2", endpoint_url="http://localhost:4566") sf.create_state_machine( @@ -1220,6 +1221,7 @@ def test_stepfunctions_send_start_execution_trace_injection(self): sf.delete_state_machine(stateMachineArn="arn:aws:states:us-west-2:000000000000:stateMachine:lincoln") @mock_stepfunctions + @pytest.mark.xfail(reason="Failed to start or connect to state machine") def test_stepfunctions_send_start_execution_trace_injection_with_array_input(self): sf = self.session.create_client("stepfunctions", region_name="us-west-2", endpoint_url="http://localhost:4566") sf.create_state_machine( @@ -1239,6 +1241,7 @@ def test_stepfunctions_send_start_execution_trace_injection_with_array_input(sel sf.delete_state_machine(stateMachineArn="arn:aws:states:us-west-2:000000000000:stateMachine:miller") @mock_stepfunctions + @pytest.mark.xfail(reason="Failed to start or connect to state machine") def test_stepfunctions_send_start_execution_trace_injection_with_true_input(self): sf = self.session.create_client("stepfunctions", region_name="us-west-2", endpoint_url="http://localhost:4566") sf.create_state_machine( diff --git a/tests/contrib/freezegun/test_freezegun.py b/tests/contrib/freezegun/test_freezegun.py index 440c3dcd0d6..1b86194f8d5 100644 --- a/tests/contrib/freezegun/test_freezegun.py +++ b/tests/contrib/freezegun/test_freezegun.py @@ -7,6 +7,7 @@ from ddtrace.internal.utils.time import StopWatch from ddtrace.trace import tracer as dd_tracer from tests.contrib.pytest.test_pytest import PytestTestCaseBase +from tests.utils import flaky class TestFreezegunTestCase: @@ -76,6 +77,7 @@ def test_freezegun_configure_default_ignore_list_continues_to_ignore_ddtrace(sel class PytestFreezegunTestCase(PytestTestCaseBase): + @flaky(1759346444) def test_freezegun_pytest_plugin(self): """Tests that pytest's patching of freezegun in the v1 plugin version works""" import sys diff --git a/tests/contrib/gunicorn/test_gunicorn.py b/tests/contrib/gunicorn/test_gunicorn.py index 41025611531..b37e99bc2c6 100644 --- a/tests/contrib/gunicorn/test_gunicorn.py +++ b/tests/contrib/gunicorn/test_gunicorn.py @@ -11,6 +11,7 @@ import pytest from ddtrace.internal.utils.retry import RetryError # noqa:F401 +from tests.utils import flaky from tests.utils import snapshot_context from tests.webclient import Client @@ -165,6 +166,7 @@ def gunicorn_server(gunicorn_server_settings, tmp_path): ) +@flaky(1759346444, reason="Server startup is flaky in CI. It is unclear whether the server fails to start or shutdown.") @pytest.mark.skipif(sys.version_info >= (3, 11), reason="Gunicorn is only supported up to 3.10") def test_no_known_errors_occur(tmp_path): for gunicorn_server_settings in [