Skip to content

Commit

Permalink
Forgot macos doesn't even like UDP
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock committed Dec 1, 2023
1 parent 9986c29 commit 34d7f99
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tracer/test/Datadog.Trace.Tests/DogStatsDTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public void Send_metrics_when_enabled()
[InlineData(null, "127.0.0.1", "1234")]
public void CanCreateDogStatsD_UDP_FromTraceAgentSettings(string agentUri, string agentHost, string port)
{
SkipOn.Platform(SkipOn.PlatformValue.MacOs);

var settings = new TracerSettings(new NameValueConfigurationSource(new()
{
{ ConfigurationKeys.AgentUri, agentUri },
Expand All @@ -142,6 +144,9 @@ public void CanCreateDogStatsD_UDP_FromTraceAgentSettings(string agentUri, strin
[Fact]
public void CanCreateDogStatsD_NamedPipes_FromTraceAgentSettings()
{
SkipOn.Platform(SkipOn.PlatformValue.MacOs);
SkipOn.Platform(SkipOn.PlatformValue.Linux);

using var agent = MockTracerAgent.Create(_output, new WindowsPipesConfig($"trace-{Guid.NewGuid()}", $"metrics-{Guid.NewGuid()}") { UseDogstatsD = true });

var settings = new TracerSettings(new NameValueConfigurationSource(new()
Expand Down

0 comments on commit 34d7f99

Please sign in to comment.