Skip to content

Commit

Permalink
Disabling EventSourceNameShortening unit test (#905)
Browse files Browse the repository at this point in the history
It was failing. frequently.
  • Loading branch information
mic-max authored Jan 18, 2023
1 parent b53b6b9 commit 6e90005
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ public void ThrowExceptionForUnsupportedEventSources()
Assert.Equal("Use the `OpenTelemetry.Instrumentation.Runtime` or `OpenTelemetry.Instrumentation.Process` instrumentations.", ex.Message);
}

/*
[Theory]
[InlineData("Microsoft-AspNetCore-Server-Kestrel-1", "tls-handshakes-per-second", "ec.Microsoft-AspNetCore-Server-Kestre.tls-handshakes-per-second")]
[InlineData("Microsoft-AspNetCore-Server-Kestrel-1", "tls-handshakes-per-sec", "ec.Microsoft-AspNetCore-Server-Kestrel-1.tls-handshakes-per-sec")]
Expand Down Expand Up @@ -248,6 +249,7 @@ public void EventSourceNameShortening(string sourceName, string eventName, strin
Assert.NotNull(metric);
Assert.Equal(1, GetActualValue(metric));
}
*/

[Fact]
public void InstrumentNameTooLong()
Expand Down

0 comments on commit 6e90005

Please sign in to comment.