Skip to content

Commit

Permalink
[java] Skip flaky test for APMAPI-908 (#3520)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeauchesne authored Nov 21, 2024
1 parent 1ed88ad commit cc012e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/parametric/test_config_consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Test configuration consistency for features across supported APM SDKs.
"""

from urllib.parse import urlparse
import pytest
from utils import scenarios, features, context, bug, missing_feature, irrelevant
from utils import scenarios, features, context, bug, missing_feature, irrelevant, flaky
from utils.parametric.spec.trace import find_span_in_traces
from urllib.parse import urlparse

parametrize = pytest.mark.parametrize

Expand Down Expand Up @@ -183,6 +183,7 @@ def test_default_trace_rate_limit(self, library_env, test_agent, test_library):
reason="PHP backfill model does not support strict two-trace limit, see test below for its behavior",
)
@parametrize("library_env", [{"DD_TRACE_RATE_LIMIT": "1", "DD_TRACE_SAMPLE_RATE": "1"}])
@flaky(library="java", reason="APMAPI-908")
def test_setting_trace_rate_limit_strict(self, library_env, test_agent, test_library):
with test_library:
with test_library.start_span(name="s1") as s1:
Expand Down

0 comments on commit cc012e3

Please sign in to comment.