Skip to content

Commit f62f8b4

Browse files
committed
Fix equality test
1 parent ab6b4c3 commit f62f8b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tracer/test/Datadog.Trace.Tests/Configuration/MutableSettingsTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public void Equality()
6565

6666
// TODO: test that changing this changes the settings. Currently this is always false, so can't test it
6767
properties.Remove(nameof(MutableSettings.CustomSamplingRulesIsRemote));
68+
69+
// This property depends directly on ServiceName, and so isn't required to be part of the equality tests
70+
// We _could_ add it though if that's preferable
71+
properties.Remove(nameof(MutableSettings.DefaultServiceName));
6872
properties.Should().BeEmpty("should compare all properties as part of MutableSettings, but some properties were not used");
6973
}
7074

0 commit comments

Comments
 (0)