We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc03618 commit 7375febCopy full SHA for 7375feb
tests/Aspire.Dashboard.Tests/Integration/StartupTests.cs
@@ -756,6 +756,8 @@ await ServerRetryHelper.BindPortsWithRetry(async ports =>
756
otlpHttpPort = ports[3];
757
758
// Reset sink writes. Required to clear out data from a previous failed retry.
759
+ // The following cast relies on the internal implementation detail that TestSink.Writes is a ConcurrentQueue<WriteContext>.
760
+ // If the implementation of TestSink changes, this may break. There is no public API to clear the writes.
761
var writes = (ConcurrentQueue<Microsoft.Extensions.Logging.Testing.WriteContext>)testSink.Writes;
762
writes.Clear();
763
0 commit comments