55import re
66from urllib .parse import urlparse
77
8- from utils import context , interfaces , bug , missing_feature , features , scenarios
8+ from utils import context , interfaces , features , scenarios
99
1010
1111RUNTIME_LANGUAGE_MAP = {
@@ -162,9 +162,6 @@ def get_component_name(span_name: str):
162162class Test_Meta :
163163 """meta object in spans respect all conventions"""
164164
165- @bug (library = "cpp_nginx" , reason = "APMAPI-924" )
166- @bug (library = "cpp_httpd" , reason = "APMAPI-924" )
167- @bug (library = "php" , reason = "APMAPI-924" )
168165 def test_meta_span_kind (self ):
169166 """Validates that traces from an http framework carry a span.kind meta tag, with value server or client"""
170167
@@ -182,10 +179,6 @@ def validator(span: dict):
182179
183180 interfaces .library .validate_one_span (validator = validator )
184181
185- @missing_feature (library = "cpp_httpd" , reason = "For some reason, span type is server i/o web" )
186- @bug (library = "ruby" , reason = "APMAPI-922" )
187- @bug (context .library < "golang@1.69.0-dev" , reason = "APMRP-360" )
188- @bug (context .library < "php@0.68.2" , reason = "APMRP-360" )
189182 def test_meta_http_url (self ):
190183 """Validates that traces from an http framework carry a http.url meta tag, formatted as a URL"""
191184
@@ -205,7 +198,6 @@ def validator(span: dict):
205198
206199 interfaces .library .validate_one_span (validator = validator )
207200
208- @missing_feature (library = "cpp_httpd" , reason = "For some reason, span type is server i/o web" )
209201 def test_meta_http_status_code (self ):
210202 """Validates that traces from an http framework carry a http.status_code meta tag, formatted as a int"""
211203
@@ -224,7 +216,6 @@ def validator(span: dict):
224216
225217 interfaces .library .validate_one_span (validator = validator )
226218
227- @missing_feature (library = "cpp_httpd" , reason = "For some reason, span type is server i/o web" )
228219 def test_meta_http_method (self ):
229220 """Validates that traces from an http framework carry a http.method meta tag, with a legal HTTP method"""
230221
@@ -259,11 +250,6 @@ def validator(span: dict):
259250
260251 interfaces .library .validate_one_span (validator = validator )
261252
262- @bug (library = "php" , reason = "APMAPI-923" )
263- # TODO: Versions previous to 1.1.0 might be ok, but were not tested so far.
264- @bug (context .library < "java@1.1.0" , reason = "APMRP-360" )
265- @bug (library = "dotnet" , reason = "AIT-8735" )
266- @missing_feature (context .library < "dotnet@2.6.0" )
267253 def test_meta_language_tag (self ):
268254 """Assert that all spans have required language tag."""
269255
@@ -285,8 +271,6 @@ def validator(span: dict):
285271 # checking that we have at least one root span
286272 assert len (list (interfaces .library .get_root_spans ())) != 0 , "Did not recieve any root spans to validate."
287273
288- @bug (library = "php" , reason = "APMAPI-920" )
289- @bug (context .library >= "nodejs@4.44.0" , reason = "APMAPI-921" )
290274 def test_meta_component_tag (self ):
291275 """Assert that all spans generated from a weblog_variant have component metadata tag matching integration name."""
292276
0 commit comments