File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1226,6 +1226,7 @@ def test_schematized_unspecified_service_sqs_client_v1(self):
1226
1226
assert spans [2 ].name == "aws.sqs.receive"
1227
1227
1228
1228
@mock_stepfunctions
1229
+ @pytest .mark .xfail (reason = "Failed to start or connect to state machine" )
1229
1230
def test_stepfunctions_send_start_execution_trace_injection (self ):
1230
1231
sf = self .session .create_client ("stepfunctions" , region_name = "us-west-2" , endpoint_url = "http://localhost:4566" )
1231
1232
sf .create_state_machine (
@@ -1249,6 +1250,7 @@ def test_stepfunctions_send_start_execution_trace_injection(self):
1249
1250
sf .delete_state_machine (stateMachineArn = "arn:aws:states:us-west-2:000000000000:stateMachine:lincoln" )
1250
1251
1251
1252
@mock_stepfunctions
1253
+ @pytest .mark .xfail (reason = "Failed to start or connect to state machine" )
1252
1254
def test_stepfunctions_send_start_execution_trace_injection_with_array_input (self ):
1253
1255
sf = self .session .create_client ("stepfunctions" , region_name = "us-west-2" , endpoint_url = "http://localhost:4566" )
1254
1256
sf .create_state_machine (
@@ -1270,6 +1272,7 @@ def test_stepfunctions_send_start_execution_trace_injection_with_array_input(sel
1270
1272
sf .delete_state_machine (stateMachineArn = "arn:aws:states:us-west-2:000000000000:stateMachine:miller" )
1271
1273
1272
1274
@mock_stepfunctions
1275
+ @pytest .mark .xfail (reason = "Failed to start or connect to state machine" )
1273
1276
def test_stepfunctions_send_start_execution_trace_injection_with_true_input (self ):
1274
1277
sf = self .session .create_client ("stepfunctions" , region_name = "us-west-2" , endpoint_url = "http://localhost:4566" )
1275
1278
sf .create_state_machine (
Original file line number Diff line number Diff line change 7
7
from ddtrace .internal .utils .time import StopWatch
8
8
from ddtrace .trace import tracer as dd_tracer
9
9
from tests .contrib .pytest .test_pytest import PytestTestCaseBase
10
+ from tests .utils import flaky
10
11
11
12
12
13
class TestFreezegunTestCase :
@@ -71,6 +72,7 @@ def test_freezegun_configure_default_ignore_list_continues_to_ignore_ddtrace(sel
71
72
72
73
73
74
class PytestFreezegunTestCase (PytestTestCaseBase ):
75
+ @flaky (1759346444 )
74
76
def test_freezegun_pytest_plugin (self ):
75
77
"""Tests that pytest's patching of freezegun in the v1 plugin version works"""
76
78
import sys
Original file line number Diff line number Diff line change 11
11
import pytest
12
12
13
13
from ddtrace .internal .utils .retry import RetryError # noqa:F401
14
+ from tests .utils import flaky
14
15
from tests .utils import snapshot_context
15
16
from tests .webclient import Client
16
17
@@ -165,6 +166,7 @@ def gunicorn_server(gunicorn_server_settings, tmp_path):
165
166
)
166
167
167
168
169
+ @flaky (1759346444 , reason = "Server startup is flaky in CI. It is unclear whether the server fails to start or shutdown." )
168
170
@pytest .mark .skipif (sys .version_info >= (3 , 11 ), reason = "Gunicorn is only supported up to 3.10" )
169
171
def test_no_known_errors_occur (tmp_path ):
170
172
for gunicorn_server_settings in [
You can’t perform that action at this time.
0 commit comments