Skip to content

Commit

Permalink
Fix Ruby test skip declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc committed Jan 27, 2025
1 parent 56e10a4 commit c124bde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"REMOTE_CONFIG_MOCKED_BACKEND_ASM_DD_NOCACHE"')
run: ./run.sh REMOTE_CONFIG_MOCKED_BACKEND_ASM_DD_NOCACHE
- name: Run AGENT_NOT_SUPPORTING_SPAN_EVENTS scenario
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, 'AGENT_NOT_SUPPORTING_SPAN_EVENTS') && (inputs.library != 'ruby' || matrix.weblog == 'rack')
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, 'AGENT_NOT_SUPPORTING_SPAN_EVENTS')
run: ./run.sh AGENT_NOT_SUPPORTING_SPAN_EVENTS
- name: Run APPSEC_MISSING_RULES scenario
# C++ 1.2.0 freeze when the rules file is missing
Expand Down
4 changes: 3 additions & 1 deletion tests/test_span_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class Test_SpanEvents_WithAgentSupport:
def setup_v04_v07_default_format(self):
self.r = weblog.get("/add_event")

@missing_feature(context.library in ["ruby"], reason="Native serialization not implemented")
@irrelevant(
context.library in ["ruby"] and "rack" not in context.weblog_variant, reason="Test is framework-independent"
)
def test_v04_v07_default_format(self):
"""For traces that default to the v0.4 or v0.7 format, send events as a top-level `span_events` field"""
interfaces.library.assert_trace_exists(self.r)
Expand Down

0 comments on commit c124bde

Please sign in to comment.