From 397be3f289ca74195c388b4aca0a76627012a52f Mon Sep 17 00:00:00 2001 From: Marco Costa Date: Tue, 21 Mar 2023 14:59:47 -0700 Subject: [PATCH 1/2] Enable Ruby Telemetry tests --- tests/test_telemetry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_telemetry.py b/tests/test_telemetry.py index 57ab1bf354..169dc37c2a 100644 --- a/tests/test_telemetry.py +++ b/tests/test_telemetry.py @@ -5,10 +5,10 @@ from utils.interfaces._misc_validators import HeadersPresenceValidator, HeadersMatchValidator -@released(python="1.7.0", dotnet="2.12.0", java="0.108.1", nodejs="3.2.0") +@released(python="1.7.0", dotnet="2.12.0", java="0.108.1", nodejs="3.2.0", ruby="1.4.0") @bug(context.uds_mode and context.library < "nodejs@3.7.0") +@bug(context.library <= "ruby@1.10.1", reason="Mishandling DD_INSTRUMENTATION_TELEMETRY_ENABLED activation. Fixed in https://github.com/DataDog/dd-trace-rb/pull/2710.") @missing_feature(library="cpp") -@missing_feature(library="ruby") @missing_feature(library="php") @missing_feature(library="golang", reason="Implemented but not merged in master") @missing_feature(context.weblog_variant == "spring-boot-native", reason="GraalVM. Tracing support only") @@ -408,7 +408,7 @@ def test_app_product_change(self): raise Exception("app-product-change is not emited when product change is enabled") -@released(python="1.7.0", dotnet="2.12.0", java="0.108.1", nodejs="3.2.0") +@released(python="1.7.0", dotnet="2.12.0", java="0.108.1", nodejs="3.2.0", ruby="1.4.0") @bug(context.uds_mode and context.library < "nodejs@3.7.0") @missing_feature(library="cpp") @missing_feature(library="ruby") From 8a5f1717ec1d2e03c0cac7d1f57c6fb7c4c871d7 Mon Sep 17 00:00:00 2001 From: Marco Costa Date: Mon, 27 Mar 2023 14:16:00 -0700 Subject: [PATCH 2/2] =?UTF-8?q?Sacrifice=20for=20the=20linting=20gods=20?= =?UTF-8?q?=E2=98=A0=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_telemetry.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_telemetry.py b/tests/test_telemetry.py index 169dc37c2a..7fc065c1c3 100644 --- a/tests/test_telemetry.py +++ b/tests/test_telemetry.py @@ -7,7 +7,10 @@ @released(python="1.7.0", dotnet="2.12.0", java="0.108.1", nodejs="3.2.0", ruby="1.4.0") @bug(context.uds_mode and context.library < "nodejs@3.7.0") -@bug(context.library <= "ruby@1.10.1", reason="Mishandling DD_INSTRUMENTATION_TELEMETRY_ENABLED activation. Fixed in https://github.com/DataDog/dd-trace-rb/pull/2710.") +@bug( + context.library <= "ruby@1.10.1", + reason="Mishandling DD_INSTRUMENTATION_TELEMETRY_ENABLED activation. Fixed in https://github.com/DataDog/dd-trace-rb/pull/2710.", +) @missing_feature(library="cpp") @missing_feature(library="php") @missing_feature(library="golang", reason="Implemented but not merged in master")