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 @@ -1199,6 +1199,7 @@ def test_schematized_unspecified_service_sqs_client_v1(self):
1199
1199
assert spans [2 ].name == "aws.sqs.receive"
1200
1200
1201
1201
@mock_stepfunctions
1202
+ @pytest .mark .xfail (reason = "Failed to start or connect to state machine" )
1202
1203
def test_stepfunctions_send_start_execution_trace_injection (self ):
1203
1204
sf = self .session .create_client ("stepfunctions" , region_name = "us-west-2" , endpoint_url = "http://localhost:4566" )
1204
1205
sf .create_state_machine (
@@ -1220,6 +1221,7 @@ def test_stepfunctions_send_start_execution_trace_injection(self):
1220
1221
sf .delete_state_machine (stateMachineArn = "arn:aws:states:us-west-2:000000000000:stateMachine:lincoln" )
1221
1222
1222
1223
@mock_stepfunctions
1224
+ @pytest .mark .xfail (reason = "Failed to start or connect to state machine" )
1223
1225
def test_stepfunctions_send_start_execution_trace_injection_with_array_input (self ):
1224
1226
sf = self .session .create_client ("stepfunctions" , region_name = "us-west-2" , endpoint_url = "http://localhost:4566" )
1225
1227
sf .create_state_machine (
@@ -1239,6 +1241,7 @@ def test_stepfunctions_send_start_execution_trace_injection_with_array_input(sel
1239
1241
sf .delete_state_machine (stateMachineArn = "arn:aws:states:us-west-2:000000000000:stateMachine:miller" )
1240
1242
1241
1243
@mock_stepfunctions
1244
+ @pytest .mark .xfail (reason = "Failed to start or connect to state machine" )
1242
1245
def test_stepfunctions_send_start_execution_trace_injection_with_true_input (self ):
1243
1246
sf = self .session .create_client ("stepfunctions" , region_name = "us-west-2" , endpoint_url = "http://localhost:4566" )
1244
1247
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