Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit defb6d5

Browse files
Anipikstephentoub
authored andcommitted
Disable parallelization for EventLog (#25695)
* Disabled paralllzation * Removing active issue tests
1 parent 436690c commit defb6d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/System.Diagnostics.EventLog/tests/EventLogEntryCollectionTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public void CheckingEntryEqualityWithNull()
6969
}
7070
}
7171

72-
[ActiveIssue(24874)]
7372
[ConditionalFact(typeof(Helpers), nameof(Helpers.IsElevatedAndSupportsEventLogs))]
7473
public void CheckingEntryEqualityAndIndex()
7574
{
@@ -100,7 +99,6 @@ public void CheckingEntryEqualityAndIndex()
10099
}
101100
}
102101

103-
[ActiveIssue(24874)]
104102
[ConditionalFact(typeof(Helpers), nameof(Helpers.IsElevatedAndSupportsEventLogs))]
105103
public void CheckingEntryInEquality()
106104
{

src/System.Diagnostics.EventLog/tests/Helpers.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
using System.Threading;
77
using Xunit;
88

9+
// Implementation is not robust with respect to concurrently writing and reading log
10+
[assembly: CollectionBehavior(DisableTestParallelization = true)]
11+
912
namespace System.Diagnostics.Tests
1013
{
1114
internal class Helpers

0 commit comments

Comments
 (0)