From 1ea40e87b6ddeaceb5f3652f0f74bd2c41ff6e8d Mon Sep 17 00:00:00 2001 From: Matthew Hensley Date: Tue, 19 Mar 2024 17:34:15 -0400 Subject: [PATCH] addtional test --- test/OpenTelemetry.Tests/Trace/TracerProviderSdkTest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/OpenTelemetry.Tests/Trace/TracerProviderSdkTest.cs b/test/OpenTelemetry.Tests/Trace/TracerProviderSdkTest.cs index 2b22ffb1242..6ca312c07ae 100644 --- a/test/OpenTelemetry.Tests/Trace/TracerProviderSdkTest.cs +++ b/test/OpenTelemetry.Tests/Trace/TracerProviderSdkTest.cs @@ -1051,6 +1051,7 @@ public void SdkPopulatesSamplingParamsCorrectlyForLegacyActivityWithInProcParent [InlineData("parentbased_always_on", null, "ParentBased{AlwaysOnSampler}")] [InlineData("parentbased_always_off", null, "ParentBased{AlwaysOffSampler}")] [InlineData("parentbased_traceidratio", "0.111", "ParentBased{TraceIdRatioBasedSampler{0.111000}}")] + [InlineData("parentbased_traceidratio", "not_a_double", "ParentBased{TraceIdRatioBasedSampler{1.000000}}")] [InlineData("ParentBased_TraceIdRatio", "0.000001", "ParentBased{TraceIdRatioBasedSampler{0.000001}}")] public void TestSamplerSetFromConfiguration(string configValue, string argValue, string samplerDescription) {