Skip to content

Commit 1ea40e8

Browse files
committed
addtional test
1 parent 6aea8ee commit 1ea40e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/OpenTelemetry.Tests/Trace/TracerProviderSdkTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,7 @@ public void SdkPopulatesSamplingParamsCorrectlyForLegacyActivityWithInProcParent
10511051
[InlineData("parentbased_always_on", null, "ParentBased{AlwaysOnSampler}")]
10521052
[InlineData("parentbased_always_off", null, "ParentBased{AlwaysOffSampler}")]
10531053
[InlineData("parentbased_traceidratio", "0.111", "ParentBased{TraceIdRatioBasedSampler{0.111000}}")]
1054+
[InlineData("parentbased_traceidratio", "not_a_double", "ParentBased{TraceIdRatioBasedSampler{1.000000}}")]
10541055
[InlineData("ParentBased_TraceIdRatio", "0.000001", "ParentBased{TraceIdRatioBasedSampler{0.000001}}")]
10551056
public void TestSamplerSetFromConfiguration(string configValue, string argValue, string samplerDescription)
10561057
{

0 commit comments

Comments
 (0)