Skip to content

Commit

Permalink
Disable EventSource tests (#95498)
Browse files Browse the repository at this point in the history
  • Loading branch information
davmason committed Dec 2, 2023
1 parent 0e50fb1 commit aea4de9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public partial class FuzzyTests
/// Tests the EventSource.Write[T] method (can only use the self-describing mechanism).
///
/// </summary>
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] // ActiveIssue: https://github.com/dotnet/runtime/issues/26197
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/88305")]
public void Test_Write_Fuzzy()
{
using (var logger = new EventSource("EventSourceName"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public partial class TestsManifestGeneration

/// ETW only works with elevated process
[ConditionalFact(nameof(IsProcessElevatedAndNotWindowsNanoServerAndRemoteExecutorSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/48798", typeof(PlatformDetection), nameof(PlatformDetection.IsX86Process))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/48798")]
public void Test_EventSource_EtwManifestGeneration()
{
RemoteInvokeOptions options = new RemoteInvokeOptions { TimeOut = 300_000 /* ms */ };
Expand Down Expand Up @@ -77,7 +77,7 @@ public void Test_EventSource_EtwManifestGeneration()
}

[ConditionalFact(nameof(IsProcessElevatedAndNotWindowsNanoServerAndRemoteExecutorSupported))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/48798", typeof(PlatformDetection), nameof(PlatformDetection.IsX86Process))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/48798")]
public void Test_EventSource_EtwManifestGenerationRollover()
{
RemoteExecutor.Invoke(() =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public partial class TestsWrite
/// Tests the ETW code path
/// </summary>
[ConditionalFact(nameof(IsProcessElevatedAndNotWindowsNanoServer))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/88305")]
public void Test_Write_T_ETW()
{
using (var listener = new EtwListener())
Expand All @@ -27,9 +28,8 @@ public void Test_Write_T_ETW()
}
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/21295", TargetFrameworkMonikers.NetFramework)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/25035")]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsPrivilegedProcess))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/88305")]
public void Test_Write_T_In_Manifest_Serialization_WithEtwListener()
{
using (var eventListener = new EventListenerListener())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ partial class TestsWriteEvent
/// Tests the ETW path.
/// </summary>
[ConditionalFact(nameof(IsProcessElevatedAndNotWindowsNanoServer))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/88305")]
public void Test_WriteEvent_Manifest_ETW()
{
using (var listener = new EtwListener())
Expand All @@ -32,6 +33,7 @@ public void Test_WriteEvent_Manifest_ETW()
/// Tests both the ETW and TraceListener paths.
/// </summary>
[ConditionalFact(nameof(IsProcessElevatedAndNotWindowsNanoServer))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/88305")]
public void Test_WriteEvent_SelfDescribing_ETW()
{
using (var listener = new EtwListener())
Expand All @@ -45,6 +47,7 @@ public void Test_WriteEvent_SelfDescribing_ETW()
/// Tests the EventListener case
/// </summary>
[ConditionalFact(nameof(IsProcessElevatedAndNotWindowsNanoServer))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/88305")]
public void Test_WriteEvent_ComplexData_SelfDescribing_ETW()
{
using (var listener = new EtwListener())
Expand All @@ -59,6 +62,7 @@ public void Test_WriteEvent_ComplexData_SelfDescribing_ETW()
/// Tests the EventListener case
/// </summary>
[ConditionalFact(nameof(IsProcessElevatedAndNotWindowsNanoServer))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/88305")]
public void Test_WriteEvent_ByteArray_Manifest_ETW()
{
using (var listener = new EtwListener())
Expand All @@ -73,6 +77,7 @@ public void Test_WriteEvent_ByteArray_Manifest_ETW()
/// Tests the EventListener case
/// </summary>
[ConditionalFact(nameof(IsProcessElevatedAndNotWindowsNanoServer))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/88305")]
public void Test_WriteEvent_ByteArray_SelfDescribing_ETW()
{
using (var listener = new EtwListener())
Expand Down

0 comments on commit aea4de9

Please sign in to comment.